OTF/TTF glyph substitution not working

Bug #219844 reported by Kyungjoon Lee
6
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

Glyph substitution doesn't work on Windows XP, even if Uniscribe supports it in Notepad.

Versions tested were 0.40, 0.45.1, 0.46.

Testcase for Windows is attached. You will need the Junicode font.

http://junicode.sourceforge.net/

Screenshots of desired rendering and Inkscape's rendering:

http://blacksun.ivyro.net/img/junicode_ligatures_resized.png

Tags: fonts win32
Revision history for this message
Kyungjoon Lee (kjoonlee) wrote :
Revision history for this message
Kyungjoon Lee (kjoonlee) wrote :

Another easy way to test: DejaVu Sans is easily available.

Typing "fluffiness" on Linux gives ligatures; typing it on Windows doesn't.

Revision history for this message
Marcin Floryan (mfloryan) wrote :

Just tested on 0.47 (SVN) with Uniscribe installed and it is not working as expected (although Notepad does render things properly). Is this a pango issue though? An interesting read on the subject is here: http://www.catch22.net/tuts/editor11.asp

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Kyungjoon Lee (kjoonlee) wrote :

I don't know much about pango, but GIMP uses it AFAIK and GIMP handles ligatures very well on Windows.

About this time last year, I had spoken to Richard Hughes after mentioning this in the user mailing list.

He said that this was due to different interfaces to the font information, on Windows and Linux.

Revision history for this message
Kyungjoon Lee (kjoonlee) wrote :

But there's one thing I don't understand.

e U+02E5 U+02E7

These three codepoints show up as two glyphs with the Doulos SIL font, even on Windows.

e˥˧

Revision history for this message
Kyungjoon Lee (kjoonlee) wrote :

Bump. Could someone decide an importance for this bug, please? ;)

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

Reproduced on Windows XP, Inkscape 0.47 and 0.48.3.1.
Not reproduced with trunk revision 11737.

Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.49
status: Confirmed → Fix Committed
Revision history for this message
Kyungjoon Lee (kjoonlee) wrote :

Does not affect the canvas in revision 11656, but still affects the preview (Shift+Ctrl+T). Should I enter a new bug for this? Thanks.

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

> Does not affect the canvas in revision 11656, but still affects the preview
> (Shift+Ctrl+T). Should I enter a new bug for this? Thanks.

AFAIU already covered by
Bug #1049455 “Kerning pairs not working in previews (Windows, Quartz)”
<https://bugs.launchpad.net/inkscape/+bug/1049455>

Revision history for this message
Kyungjoon Lee (kjoonlee) wrote :

This is a bit different from that bug, though.

Kerning pairs:
* Was bugged for canvas, OK for previews
* Is bugged for previews now, OK for canvas

Glyph substitution:
* Was bugged for canvas _and_ previews
* Is bugged for previews now, OK for canvas

Bryce Harrington (bryce)
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.