Wrong font name in EPS for 'regular' style TTF

Bug #168732 reported by Grimreaper11
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

Hi,

I am using in an inkscape document a truetype font called MgOpen Moderna.
The File for the 'regular' style is named 'MgOpenModernaRegular.ttf'. Using
it in inkscape is fine, but when I export it as EPS the font gets
substituted by Courier, when the EPS is used.

Ghostscript says:

Can't find (or can't open) font file
/usr/share/ghostscript/8.15/Resource/Font/MgOpenModerna.
Can't find (or can't open) font file MgOpenModerna.
Querying operating system for font files...
Can't find (or can't open) font file
/usr/share/ghostscript/8.15/Resource/Font/MgOpenModerna.
Can't find (or can't open) font file MgOpenModerna.
Didn't find this font on the system!
Substituting font Courier for MgOpenModerna.

The problem seems to be the line

/MgOpenModerna-ISOLatin1 /MgOpenModerna newlatin1font

in the Inkscape-generated EPS. When I substitute it by

/MgOpenModerna-ISOLatin1 /MgOpenModerna-Regular newlatin1font

it works. I assume Inkscape strips the '-regular' from TTF font names, but
it should not. With bold fonts there is no problem, the '-bold' is
preserved.

Changed in inkscape:
assignee: theadib-users → theadib-gmail
Revision history for this message
theAdib (theadib) wrote :

Fonts in general and font names with spaces are tricky in postscript.
For now the workaround exists to convert text to path before export to PS/EPS.
At least there should be a warning which features are not supported by the exporter.
Adib.

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

we need svg and ttf sample files to test it - it might be fixed by the cairo exporter

Changed in inkscape:
status: Confirmed → Incomplete
Revision history for this message
GrimReaper11 (o-mangold) wrote :

Here you are.

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

Same issue as Bug #168456 “PostScript Fonts Name”?

This bug was reported against an older Inkscape version (0.46): EPS/PS output in current versions (0.48, 0.48+devel) is based on cairo and always embeds fonts.

Can you confirm that the issue still occurs in current Inkscape 0.48 or recent development builds?

tags: added: eps exporting
removed: all-platforms
Revision history for this message
Kris (kris-degussem) wrote :

Marking as fixed by lack of user feedback.

Changed in inkscape:
status: Incomplete → Fix Committed
assignee: theAdib (theadib) → nobody
milestone: none → 0.49
Changed in inkscape:
status: Fix Committed → Fix Released
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.