# Issues

Issue #49 resolved

# px vs pt

Anonymous created an issue

Hi,

I am using textext for creation of figures for my thesis that I write with Latex. Thank you very much for coding that extension. Its beautiful! However...

After some testing I believe that textext is using px instead of pt as fontsize.

Just as information. 1px = 1/90 inch, 1pt = 1/72 inch.

When inserting textext without preamble file, the text ends up having 10px. When using a preamble file containing {{{

# !latex

\renewcommand{\normalsize}{\fontsize{12}{10}\selectfont} }}} the text is 12px. (expect 10pt=12.5px and 12pt=15px, respectively)

The problem: If making figures and saving as .pdf and including unscaled in latex, the fontsize does not match.

Solutions that I can think of:

# Tell users of textext clearly to use a Scale factor of 1.25 if they want their fonts in pt.

The use of px as unit in svg and inkscape is, in my opinion, not communicated clearly :(