Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | X11+cairo: CJK/Thai/Arabic text not visible in vertical mode or when zoomed in | ||||||
---|---|---|---|---|---|---|---|
Product: | gsl | Reporter: | vsatayamas <vsatayamas> | ||||
Component: | code | Assignee: | stefan.baltzer | ||||
Status: | CLOSED FIXED | QA Contact: | issues@gsl <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P2 | CC: | caolanm, hdu, issues, kamataki, masaya.k, tora3 | ||||
Version: | OOo 3.0 Beta | ||||||
Target Milestone: | OOo 3.0 | ||||||
Hardware: | PC | ||||||
OS: | Unix, all | ||||||
URL: | http://blog.vee-u.com/2008/05/10/ooo-3-beta-cannot-display-thai-text-properly-when/ | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Issue Depends on: | 88973 | ||||||
Issue Blocks: | 89974, 90287, 88888, 92671 | ||||||
Attachments: |
|
Description
vsatayamas
2008-05-10 06:51:14 UTC
Created attachment 53525 [details]
An example document for reproducing the issue
screencast: http://www.youtube.com/watch?v=zIy-1_DTNQU Reassigned to SBA. http://gsl.openoffice.org/servlets/ReadMsg?list=dev&msgNo=2171 ===== The phenomenon - glyphs disappear in certain conditions - has been also reported in the Japanese community. It seems to application neutral. Changing text direction from Left-to-right (horizontal) to Right-to-left (vertical) also makes glyphs invisible. The transparent glyphs seem to remain there. Action of moving cursor seems to work fine. Exporting the document with invisible characters into PDF format seems to work. The phenomenon can be observed with recent DEV300 variants on Linux. What type of information does help you look into it? ===== Lets try and rule some things in or out Does export SAL_DISABLE_CAIROTEXT=1 make a difference ? I cannot see your video, so at what point size does text disappear ? With "export SAL_DISABLE_CAIROTEXT=1", the problematic phenomenon has gone. Without the environment variable, in horizontal writing, Japanese characters appear in equal or less than 14.6pt; they disappear in more than 14.6pt. In the case of vertical writing, Japanese characters appear in equal of less than 5.5pt; they disapper in more than 5.5pt. Target: OOo_3.0.0beta_20080429_LinuxIntel_install_en-US.tar.gz (BEA300_m2) OS: Fedora 8, SELinux: Permissive Application: Writer Magnification: 100% Fontname: Sazanami Mincho LANG: both LANG= and LANG=ja_JP.UTF-8 bring the same results. .openoffice.org3/user/psprint/pspfontcache: FontCacheDirectory:1198918311:/usr/share/fonts/sazanami-fonts-mincho File:sazanami-mincho.ttf 2;1 Sazanami Mincho;ã•ã–ãªã¿æ˜Žï¿½;Sazanami;ã•ã–ãªã¿æ˜Žï¿½;Sazanami M;ã•ã–ãªã¿æ˜Žï¿½;Sazanami Min;ã•ã–ãªã¿æ˜Žï¿½;Sazanami Minch;ã•ã–ãªã¿æ˜Žæœ -1;Sazanami-Mincho-Regular;0;6; grep "Sazanami Mincho" pspfontcache | iconv -f UTF-8 -t UCS-2 | od -x 0000000 0053 0061 007a 0061 006e 0061 006d 0069 0000020 0020 004d 0069 006e 0063 0068 006f 003b 0000040 3055 3056 306a 307f 660e fffd 003b 0053 0000060 0061 007a 0061 006e 0061 006d 0069 003b 0000100 3055 3056 306a 307f 660e fffd 003b 0053 0000120 0061 007a 0061 006e 0061 006d 0069 0020 0000140 004d 003b 3055 3056 306a 307f 660e fffd 0000160 003b 0053 0061 007a 0061 006e 0061 006d 0000200 0069 0020 004d 0069 006e 003b 3055 3056 0000220 306a 307f 660e fffd 003b 0053 0061 007a 0000240 0061 006e 0061 006d 0069 0020 004d 0069 0000260 006e 0063 0068 003b 3055 3056 306a 307f 0000300 660e 671d 000a ufffd REPLACEMENT CHARACTER is included. why? xdpyinfo: resolution: 81x90 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 depth of root window: 24 planes I can see this on one of my machines, but not the other two. Let me see if I can debug it The nGlyphFlags |= GF_UNHINTED in vcl/source/glyphs/gcach_ftyp.cxx for CJK text causes this grief If the use fontconfig hints patch at http://qa.openoffice.org/issues/show_bug.cgi?id=64508 is applied then this problem goes away We could either apply that, or disable the cairo text stuff @cmc: thanks for debugging into this regression introduced by issue 85470. I don't understand yet why cairo would make glyphs invisible when their hinting is different? Yeah, I don't understand either. *** Issue 88973 has been marked as a duplicate of this issue. *** Aaargh... I overlooked the fact that the cairo-codepath ignores the "extended glyph flags", e.g. for glyphs in vertical layouts or when hints get disabled. Will be fixed in CWS vcl30stop2. block Fixed in CWS vcl30stop2: - the nohinting flag gets ignored now in the cairo codepath - in vertical writing mode the non-cairo codepath is taken for now Additional testing hints: - load the bugdoc and zoom in (see the original bug description) - enable Tools->Options->Languages->CJK - select "right to left(vertical)" in Format->Page->Page->TextDirection - add a mix of CJK+Latin+CTL characters -- for a font that natively supports vertical writing -- for a font that needs vertical writing support emulation @sba: please verify on CWS vcl30stop2 *** Issue 92278 has been marked as a duplicate of this issue. *** SBA: Verified in CWS vcl30stop2. *** Issue 90421 has been marked as a duplicate of this issue. *** *** Issue 90959 has been marked as a duplicate of this issue. *** *** Issue 90804 has been marked as a duplicate of this issue. *** *** Issue 92270 has been marked as a duplicate of this issue. *** This issue is closed automatically and wasn't rechecked in a current version of OOo. The fixed issue should be integrated in OOo since more than half a year. If you think this issue isn't fixed in a current version (OOo 3.1), please reopen it and change the field 'Target Milestone' accordingly. If you want to download a current version of OOo => http://download.openoffice.org/index.html If you want to know more about the handling of fixed/verified issues => http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues |