After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557050 - Vertical text shows overlapping glyphs
Vertical text shows overlapping glyphs
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: cairo
1.20.x
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2008-10-20 10:52 UTC by ogg.k.ogg.k
Modified: 2017-08-14 18:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case for vertical text showing overlapping katakana (2.38 KB, text/plain)
2008-10-20 10:59 UTC, ogg.k.ogg.k
Details
screenshot (917 bytes, image/png)
2008-10-22 06:54 UTC, Behdad Esfahbod
Details
screenshot of fontforge on katakana glyphs (16.85 KB, image/png)
2008-10-30 10:14 UTC, ogg.k.ogg.k
Details

Description ogg.k.ogg.k 2008-10-20 10:52:03 UTC
Please describe the problem:
When displaying vertical text, Katakana glyphs show up on top of each other
when rotated with gravity. Latin characters in the same layout are properly
spaced. This happens with certain fonts only.

Steps to reproduce:
1. Display vertical text including katakana (eg, run the attached test case)
2. Ensure that the font used is, eg, /usr/X11R6/lib/X11/fonts/misc/18x18ko.pcf.gz (MD5 33db27074d3f417023d057b2c7d2d4f0, I can send the font on request if you don't have it, but it comes with X.org so should be widely available)
3. See how the katakana glyphs overlap.


Actual results:
The katakana glyphs are overlapping

Expected results:
The katakana glyphs should be spaced properly

Does this happen every time?
Yes, if using the same font.

Other information:
Test case will be attached.

Using Pango 0.20.0 with image output using Cairo 1.14.x

BTW, the 'version selection' for this bug shows versions as 2.13, 2.13.x, 2.14.x,
which do not seem to be Pango versions.
Comment 1 ogg.k.ogg.k 2008-10-20 10:56:32 UTC
oops, somehow went to pangomm, i was certain to have selected pango, which was in a different list anyway.
Comment 2 ogg.k.ogg.k 2008-10-20 10:59:09 UTC
Created attachment 120915 [details]
test case for vertical text showing overlapping katakana
Comment 3 Behdad Esfahbod 2008-10-22 06:54:19 UTC
Created attachment 121089 [details]
screenshot

Actually works fine for me with that font.  I checked using pmap and 18x18ko.pcf.gz was the font being used.  I used this command:

$ pango-view --gravity auto --rotate -90 --markup --text "Katakana 1 ゴウジス" --font 'fixed 18px' -o ~/18x18ko.png

I seem to have a different version of the font though:
$ md5sum /home/behdad/.fonts/18x18ko.pcf.gz 
3c71d0ef5552a447421a7e8694e43e04  /home/behdad/.fonts/18x18ko.pcf.gz

If you open the font in fontforge, does it show correct bounding boxes for the glyphs?
Comment 4 ogg.k.ogg.k 2008-10-30 10:14:45 UTC
Created attachment 121631 [details]
screenshot of fontforge on katakana glyphs

I installed fontforge and made sure the only option about bounding box
I found was enabled, but I'm not sure *what* is the bounding box here,
so attached is a screenshot so you can see how it looks. If you need
me to do some other manipulation, just tell me what I need to do.