Text rendering cuts off trailing character (depending on zoom level) (rev >= 12488)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
David Mathog |
Bug Description
Hi all, when opening this SVG file (that was created using Inkscape-0.48.4 and uses the Impact font from the Microsoft corefonts package with a faux Bold+Italics style), the new Inkscape trunk displays the E cut off. It is fine in Inkscape-0.48.4 and all other SVG renderers we tried (Firefox , gwenview, Batik):
Here is a log of an IRC conversation on #inkscape with more details:
<rindolf> su_v: http://
<rindolf> su_v: well, that's what I found - there may be more.
<su_v> rindolf: and this does not happen with current stable?
* su_v has seen this often, too, but only with certain fonts
<rindolf> su_v: no, it does not.
<su_v> and IIRC it happens with stable too
<su_v> anyway, without file to test (and being sure to have the same fonts installed - ...
<rindolf> su_v: https:/
<rindolf> su_v: and on Mageia Linux x86-64 4 Cauldron.
<rindolf> Sorry , s/4 Cauldron/
<su_v> reproduced, and indeed with trunk only
<su_v> still ok with r12346, now testing with revisions in-between
<su_v> ok with r12487, not ok with r12488
<su_v> might be reported already, not sure
<su_v> http://
* a-l-e (~<email address hidden>) has joined
<su_v> (e.g. https:/
<rindolf> su_v: thanks for the investigation.
<rindolf> su_v++
<su_v> rindolf: file a bug report, please
<rindolf> su_v: about what?
<su_v> AFAICT there is none specific to this one
<rindolf> su_v: about the build failure or about the trunk regression?
<su_v> both
<rindolf> su_v: OK, I'll file two bug reports.
* a-l-e has quit (Read error: Operation timed out)
<su_v> rindolf: I think I know what happens (can't be reproduced in trunk in a new file):
<su_v> Impact has no italic or oblique style
<su_v> but with inkscape stable (0.48.4) you could apply a faux italic style
<su_v> trunk no longer supports that (you can only use font styles which are indeed available)
<su_v> the file was created with 0.48.4
<su_v> with trunk, you would have to skew the text object to generate a faux italic style (skew with the select tool transformation handles)
<su_v> still, rendering in current trunk looks wrong (it cuts off the text where the bounding box of the unslanted text version ends)
<rindolf> su_v: https:/
<rindolf> su_v: I see. Well, the longer story is that I originally used a font called "Homa" (which is a Persian font) and it had Italics available and fell back to Impact for the Latin characters.
<su_v> the font style in the 0.48.4 actually applies two fake style (bold and italic) - trunk only reports one font style for Impact ("Condensed")
<su_v> still looks like a regression in trunk to me (it should not cut off the text - why does it render the 'K' ok, but cuts off the trailing 'E'?)
<rindolf> su_v: I see.
<rindolf> su_v: well, should I still report it?
<su_v> yes, I think it's worth to be investigated
<su_v> rindolf: did you check how it renders in other SVG viewers?
<rindolf> su_v: let me see.
<su_v> nevermind - Firefox renders it ok (as expected)
<su_v> inkscape should do the same ;)
<rindolf> su_v: it seems fine in gwenview too (I think it's KSVG - not sure).
<rindolf> Or maybe WebKit.
<su_v> Batik 1.7 (Squiggle) renders it ok too (nothing cut off),
<rindolf> Yes.
<rindolf> We can also test rsvg.
<su_v> that one isn't really a reference for SVG compliance ;)
<rindolf> su_v: ah, OK.
<su_v> but it renders it ok, too (nothing cut off) - librsvg 2.40.1
* carandraug has quit (Quit: Leaving)
<rindolf> su_v: OK.
* ksuhku has quit (Quit: Leaving)
<rindolf> su_v: so, what do we do? I'd like to go to bathe now.
<su_v> report a bug, please
<rindolf> su_v: OK.
<rindolf> su_v: I guess I can quote this conversation.
Related branches
Changed in inkscape: | |
milestone: | 0.91 → 0.92 |
summary: |
- trunk: text rendering cuts off final "E" with Impact font after a faux + Text rendering cuts off final "E" with Impact font after a faux italics+bold (rev >= 12488) |
summary: |
- Text rendering cuts off final "E" with Impact font after a faux - italics+bold (rev >= 12488) + Text rendering cuts off trailing character (depending on zoom level) + (rev >= 12488) |
tags: | added: blocker |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Changed in inkscape: | |
status: | Fix Released → Fix Committed |
tags: | added: backport-proposed |
Changed in inkscape: | |
milestone: | 0.91.1 → 0.92 |
status: | Fix Committed → Fix Released |
Reproduced with trunk rev >= 12488 on OS X 10.7.5, as discussed on irc.