Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Imported czech .doc documents are displayed wrong in word processor | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | gsl | Reporter: | Unknown <non-migrated> | ||||||
Component: | code | Assignee: | christof.pintaske | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P1 (highest) | CC: | issues | ||||||
Version: | 641 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Linux, all | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
Unknown
2002-01-07 17:27:45 UTC
Created attachment 883 [details]
.doc containing one line of problematic characters
Reassigned to Michael. MRU->CP: looks like a problem with the font replacement. The font "Bookman" is replaced by a font, which is not capable of such czech characters. When formatting the text with "Times" or "Thorndale", everything looks fine. Doesn't seem to me like font replacement problem. The - sign, the indent dot and the quoation marks are not displayed correctly in any font, including the times font, whereas the diacritics is displayed well in times. I have one more hint. I found out that the only fonts that work well for me are the fonts ArialCE and TimesNewRomanCE taken from the Windows 2000. The problem is that in standard Windows instalation, these fonts are the only ones that DO NOT WORK correctly. They have bad metrics, coding and whatever else. So it is quite surprising that they work so great in the oo.org word processor :-) I made some screenshots for you to see what I mean: 1. this is, how it should look like (and how it looks like using the windows fonts): http://www.crs-net.cz/oo/timesCE-good.png 2. this is, how it looks with every other font: http://www.crs-net.cz/oo/times-bad.png You can download the fonts (TimesNewRomanCE and ArialCE) here: http://www.crs-net.cz/oo/fonts.tar.gz Thank you for your care. Hi Ondrej, please provide a list of fonts that you use (i.e. the output of the xlsfonts command). What version of OOo do you use ? (goto menu "Help -> About OpenOffice.org" type Ctrl s-d-t and note the version and build number) Where are the fonts installed on your system ? Can you copy them to <your_ooo_path>/share/fonts/truetype/ directory, does that change anything ? 1. oo.org version = 641 h (build 7454) 2. output of xlsfonts is in the included file. 3. Fonts are installed in the standard RH7.2 font paths (/usr/share/fonts/ /usr/share/X11/fonts/8859-2/) We made some more experiments with the fonts and oo.org, here are the results: 1. Type1 fonts: a) Fonts with their own encoding vector are not supported by oo.org. b) Fonts with Adobe standard encoding are supported, but some characters (ccaron, Ccaron, caccute, Caccute, ...) are not displayed, but correctly printed on PS3 device. 2. TrueType fonts: a) Fonts with their own encoding vector (i.e. symbol encoding) are not supported by oo.org. b) Standard TT fonts must follow these rules to work correctly with oo.org: 1. The font must present itself as unicode font. (It doesn't really have to be unicode font, it is sufficent that it claims it.) 2. The font must claim that it contains only codepage Win1250. 3. All characters must have all three mappings: Apple standard, Macintosh Roman and Microsoft unicode. Example: Euro sign must be 8364 Apple standard character, 219 Macintosh Roman character and 8364 Microsoft unicode character. If the Apple and Macintosh mapping is missing, then the character is not displayed at all, but is correctly printed on PS3 device. Fonts that do not follow the rules 1-3 are either not supported by oo.org at all, or some characters are not displayed (and have big metrics problems). By the way, are there plans for pair kerning (kerning, that is included in the TT font file) implentation? ondrej Created attachment 1027 [details]
Output of xlsfonts
Please update to the current OOo 641 C (641q build id 7565). We have done a lot of fixes for fonts (which may or may not help), especially for using fonts found in the filesystem (and finding them if they are hidden behind a fontserver). Please give it try and post your findings works for me with OOo 1.0 closed |