displaced pdf export of stroked text for fonts without bold style

Bug #940158 reported by toby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

pdf export/save of outline text (contour width > 0) is incorrect/displaced for bold style and font families which don't offer
an explicit bold style (bold and regular look the same). Of course, choosingbold for these fonts doesn't make senes, but it's not blocked to choose and triggers incorrect pdf export (screen render or bitmap export is fine).

Example font families are "20th Century Font" (utilized in demo svg), Crillee, ... there are several.

Output needs to be fixed or "bold" setting needs to be blocked.

Regards,
Toby

PS: seen on standard/latest Inkscape 0.48.2 on Ubuntu 11.10 x64 and Fedora F16

Revision history for this message
toby (streumix) wrote :
Revision history for this message
toby (streumix) wrote :

Missed to add the pdf export for the demo svg

Toby

su_v (suv-lp)
tags: added: exporting fonts pdf
Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48.3.1 and 0.48+devel r11010 on OS X 10.7.2 (Lion), cairo 1.10.2

> pdf export/save of outline text (contour width > 0) is incorrect/displaced
> for bold style and font families which don't offer

What actually happens is that the stroke of the path (separate object (path) in the PDF file) is based on the "faux" bold style (not used on-canvas), but not the text itself (fill).
- Workaround: the faux 'Bold' font style is used for both stroke and fill when converting text to path in the PDF export options (though the output now differs from what is seen on-canvas in Inkscape).
- Alternative workaround to keep the same visual appearance in the PDF file as in Inkscape on-canvas: convert the text to path with menu 'Path > Object to Path' before saving a copy as PDF.

Related:
Bug #586028 “Italic text doesn't work with pdf export”
(only difference is that Inkscape on-canvas does not render a faux bold style, unlike for italic)

Underlying issue (AFAIU) is tracked in
Bug #200899 in Inkscape: “Font style ignored in eps/pdf output”
<https://bugs.launchpad.net/inkscape/+bug/200899>

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
su_v (suv-lp)
summary: - displaced pdf export of outine text for fonts without bold style
+ displaced pdf export of stroked text for fonts without bold style
Revision history for this message
gillnrb (gillnrb) wrote :

Hello, this happens in my installation to styled texts with certain heigths only
style example is:
.specialChar {stroke:black; stroke-width:0.1; stroke-linejoin:miter; stroke-linecap:butt; fill:black; font-family:'Liberation Sans'; font-size:3.5px;}

font size 3.5 is ok, as is 2.8
font sizes 3.4 and 2.9 misalign the stroke.

Revision history for this message
gillnrb (gillnrb) wrote :
Revision history for this message
Nathan Lee (nathan.lee) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at http://inkscape.org/report.

I'm ignoring comments 4 and 5 in the migration as it'll be tracked separately (in https://bugs.launchpad.net/inkscape/+bug/1449476).

Moved to: https://gitlab.com/inkscape/inbox/-/issues/3866
Closed by: https://gitlab.com/nathanal

Changed in inkscape:
status: Confirmed → Invalid
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.