Giter VIP home page Giter VIP logo

Comments (3)

Ziv-Barber avatar Ziv-Barber commented on June 22, 2024

Thanks, I'll check it.
Also I'll see what I can do with the line break.

Ziv

On Thu, Dec 12, 2013 at 12:46 AM, Dan [email protected] wrote:

Again, love the plugin. I noticed that if I used font_size 20, the font in
word will actually end up being font size 10. Same for 40, it becomes 20 in
word.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13
.

from officegen.

dmgreene avatar dmgreene commented on June 22, 2024

Thanks. You are awesome. :)

-Dan

From: Ziv Barber <[email protected]mailto:[email protected]>
Reply-To: Ziv-Barber/officegen <[email protected]mailto:[email protected]>
Date: Wednesday, December 11, 2013 6:48 PM
To: Ziv-Barber/officegen <[email protected]mailto:[email protected]>
Cc: Dan Greene <[email protected]mailto:[email protected]>
Subject: EXTERNAL: Re: [officegen] font size is divided in half (#13)

Thanks, I'll check it.
Also I'll see what I can do with the line break.

Ziv

On Thu, Dec 12, 2013 at 12:46 AM, Dan <[email protected]mailto:[email protected]> wrote:

Again, love the plugin. I noticed that if I used font_size 20, the font in
word will actually end up being font size 10. Same for 40, it becomes 20 in
word.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-30376756.

from officegen.

magicienap avatar magicienap commented on June 22, 2024

Hi,

In fact, when we look in the specification, the size is "specified in half-points" (section 17.3.2.38, page 309 of the first part). I made a modification in the source code that corrects the behaviour. I will do a pull request. Also, I created a library to generate docx documents in Ruby (https://github.com/magicienap/docx_generator). Maybe it can be useful! I wanted to port it to JavaScript, but I discovered this project. I would like to take part of it.

from officegen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.