Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [VI] Characters not displaying in Help 2.3 | ||||||
---|---|---|---|---|---|---|---|
Product: | Internationalization | Reporter: | clytie | ||||
Component: | helpcontent | Assignee: | pavel | ||||
Status: | CLOSED FIXED | QA Contact: | issues@l10n <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues, pavel | ||||
Version: | current | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
URL: | ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/680/OOG680_m5/Build-1/OOo_2.3.0_070911_Win32Intel_install_vi.exe | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
clytie
2007-09-15 13:20:37 UTC
OK, I'll only take the first issue here as the Summary says (and as our guidelines say: one issue per issue). Empty white boxes means that the font used on the machine doesn't support the character to be displayed. Please try this: 1. Select the paragraph with empty white box, paste it into other application - e.g. Notepad or something where you CAN write that letter. What happens? 2. Paste it into Writer and try to change fonts - do you see the correct letter in some font? 3. Try changing fonts for help - see *.css files in your installed_path/help/vi directory. The reason I've reported them together is that I don't know if both things are part of one problem, or not. I can't see how I could be expected to know that. If we find that they are separate problems, I can create another bug. But for now, they could both be part of the same problem. Pavel, as I said in the bug report, the character U+0110 displays correctly in the OpenOffice.org 2.3 _interface_ for these users, and when _inputting_ in OpenOffice.org 2.3. It just doesn't display correctly in the Help of the same build. So this is not a missing-font issue. These same users can display that character in any number of other apps, and can display it on the interface of the same OpenOffice.org build (for example, the name of the menu Format starts with U+0110 in our language, and that displays correctly), and they can input it into OpenOffice.org 2.3: it's only in the Help of OpenOffice.org 2.3 that U+0110 does not display. If it were a missing font, there would be a lot more characters represented by white boxes. Regardless, I will request our users do as you said. It's interesting looking at the Help stylesheet: even though Help displays correctly in my OpenOffice.org 2.3 Vietnamese build on OSX (Intel X11), it doesn't look good. The CSS file says: ___ /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ + OPENOFFICE.ORG 2.0 HELP + + DEFAULT STYLESHEET + + WESTERN LANGUAGES + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ + LAST CHANGES: 15-NOV-2004 + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ */ body, p, h1, h2, h3, h4, h5, h6, .listitem, .listitemintable, .tablecontent, .tablecontentintable { font-family: "Bitstream Vera Sans",Arial,Helvetica,Lucida,Geneva,Helmet,sans-serif,"Andale Sans UI","Arial Unicode MS","Lucida Sans Unicode",Tahoma; } .code, .codeintable, .example, .exampleintable, .literal, .literalintable, .path, .pathintable { font-family: "Bitstream Vera Sans Mono",Cumberland,"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",Monaco,Monospaced; margin-top: 1pt; margin-bottom: 1pt;} ___ so that definitely needs updating. I'm not even sure Bitstream Vera covers our whole character set, although I didn't find any missed characters in the Help. But it doesn't do it well. Recommended fonts for different languages are listed here: http://wiki.freedesktop.org/wiki/Software/Fonts As you can see, we have nominated Deja Vu as our best free font (they have worked with us on supporting our language), or the designed-for-Vietnamese urwvn GPL fonts. On OSX, Lucida Grande is far and away the best font for Vietnamese, but it's not a free font. Is Vietnamese suffering, in the Help, from using a Roman script, and thus being handled as a "Western" language? We require UTF-8 and a pan-Unicode font. How can we set Deja Vu or urwvn for OpenOffice.org Vietnamese Help? Pavel, your suggestion (3) is spot on. User 2 tried changing the font in the Help css file, resulting in this screenshot: http://picasaweb.google.com/cumeo89/OpenOffice/photo?authkey=U- Vfl94gTj0#5110470952788242450 You can see he is delighted about this. :) So the font Bitstream Vera Sans (NOT recommended for Vietnamese) is the culprit. If OpenOffice.org is going to set a font for "Western" languages, it should be a font that covers more of the Unicode range more effectively, like Deja Vu Sans. It covers a lot more than Bitstream Vera Sans. Also, the Deja Vu font project works actively and continually on improving its range, where Bitstream Vera is not, AFAIK, currently maintained. If we can choose fonts per language for Help, we can _ensure_ each language is displayed correctly. The FreeDesktop page I quoted could be used as a reference for this. So, how soon can we fix this font error? Looking at part 2 of my bug, I'll ask the user if changing the font affects that problem, as well. If not, then it is indeed a separate problem, and I will report it separately. clytie: great. Thus the fix is to provide back fixes *.css files. They are in the source, so fixing them in the source is the right way to do so. See http://documentation.openoffice.org/source/browse/documentation/helpcontent2/source/auxiliary/ vi/ Please attach new .css files that work for you here and I'll commit them. OK, I'll attach the edited CSS file here. I've added the fonts we need (which also cover a very wide range) to the beginning of the fonts listed. I haven't changed anything else, but I think the documentation team should really review this file: there have been quite a few improvements in Unicode fonts in the last couple of years. Gentium is one of those improvements: I've added GentiumAlt because it also supports a very wide character range, including our language. I wasn't sure if you meant "edit the current CSS file" or "create a separate CSS file for Vietnamese": I've done the first. I can also do the second if it you like. Created attachment 48257 [details]
Updated CSS file to support Vienamese in Help
Thanks! Clytie, please also teste them on other systems or ask your users to test them on other systems. Reassign to Frank to add/review these CSS files. added to hcshared12, I also adjusted the other *.css accordingly Please verify in CWS hcshared12 ok in hcshared12. Closing. |