font-size in export-latex

Bug #1232338 reported by Matthias Blümel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

exporting a svg via the command-line results in a pdf_tex-file which uses the parameters \svgscale and \svgwidth to “scale” the image down. this doesn’t work for text, because the script only defines the text-position but leaves the font-size as is.

Maybe there are ways to scale it down too (e.g. calculating the rate and use {\fontsize{40}{48} \selectfont Text} ), but I think the simplest solution is removing all the code and refering in the documentation to

\resizebox{<width>}{!}{\input{<file>.pdf_tex}}
   instead of
\includegraphics[width=<width>]{<file>}

\resizebox{!}{<height>}{\input{<file>.pdf_tex}}
  instead of
\includegraphics[height=<height>]{<file>}

\resizebox{<width>}{<height>}{\input{<file>.pdf_tex}}
  instead of
\includegraphics[width=<width>,height=<height>]{<file>}

\scalebox{<scale>}{\input{<file>.pdf_tex}}
  instead of
\includegraphics[scale=<scale>]{<file>}

which workes fine for me.

description: updated
Revision history for this message
su_v (suv-lp) wrote :

Related earlier reports:
- Bug #892572 “PDF+LaTeX does not export proper font size in LaTeX file”
  <https://bugs.launchpad.net/inkscape/+bug/892572>
- Bug #595315 “need eps/ps/pdf+LaTeX font size warning”
  <https://bugs.launchpad.net/inkscape/+bug/595315>
- Bug #718638 “LaTeX font size support”
  <https://bugs.launchpad.net/inkscape/+bug/718638>

tags: added: exporting latex
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.