Apache OpenOffice (AOO) Bugzilla – Issue 104062
MAC: Better fallback font for fonts without Cyrillic subset
Last modified: 2017-05-20 11:25:54 UTC
Cyrillic (Russian) text is rendered correctly only using "CY" fonts, such as "Times CY", "Geneva CY", etc. When I use other fonts, such as TimesNewRoman or Arial, the same Russian text is visible and correct, but is rendered in a strange different font, with large unneeded spaces between characters. This happened also in OOo 3.0.
Created attachment 63993 [details] This is a screenshot with the same Russian text in OOo 3.1 using 4 different fonts
Please attach a sample document.
Created attachment 64000 [details] Here is a sample document the screenshot of which was already attached.
What version of OSX is this? Please check in Insert->SpecialCharacter if the mentioned fonts support the cyrillic unicode range. Things look good here, see my attached screenshot below.
Created attachment 64007 [details] looks good on my systems
The file looks good when read by TextEdit, but wrong in OOo3.1. I do not have W*rd, so cannot check that. My OS X is 10.4.3, PowerPC. As far as I recall, OOo 2.4 did NOT have this problem. Also, the LucidaGrande font looks fine, but Arial looks ugly. When I tried to insert->special character, Arial did NOT support cyrillic, but LucidaGrande did. However, Arial in TextEdit looks fine. Thank you for reading...
@HDU: any other comments than "looks good on my system"? ;) Should we ask for bthe font? The locale? Any other idea?
Here is the PDF of the file (including the LucidaGrande font where everything is fine). My environment is rather basic, no extra special fonts, etc. The "CY" fonts are quite ordinary.
Created attachment 64055 [details] PDF of the file in question
@es: try to reproduce it too. Maybe the look of the glyph helps; which font do they come from? Maybe it can be reproduced also by another user on a different system, are there any non-default layout- compatibility options used? etc.
Created attachment 64077 [details] A zipped folder with two files: the updated file in OOo and its screenshot.
Some additional data (see the attachment - a zipped folder with the updated OOo file and its screenshot). 1. The length of the incorrectly rendered Russian text is somewhat different for different fonts. 2. The shape of the "space" character ("square" or "round") is also different for different fonts. 3. If the text is rendered correctly then it starts from the beginning of the line; otherwise there is a small space before the first character of the incorrectly rendered text. 4. Some non-CY fonts look fine.
@HDU: I still had no opportunity to test this on a Mac yet but looking at the screenshots I think I understand what happens. Have a look at the first included in the zip file "Picture 2.png". @haimk: I'd say that the fonts Times New Roman, Arial, Chicago, Courrier New, New York and Verdana surprisingly DON'T have a Cyrillic subset *on your* System. Have a look at "Insert - Special Character" for those font, they might not show "Cyrillic" in the subset listbox. So when you are writing with a Cyrillic keyboard layout there must be a Fallback to another font including this subset. I could reproduce the same on Vista using a Font ("Vrinda") which has not Cyrillic subset (See attached screenshot) So, I'd say -> Invalid.
Created attachment 64360 [details] When a font is missing a subset, there's a fallback to an other font.
I would respectfully disagree with the follwing statement: "I'd say that the fonts Times New Roman, Arial, Chicago, Courrier New, New York and Verdana surprisingly DON'T have a Cyrillic subset *on your* System." See my recent attachment - Picture 3 -- a screenshot of THE SAME file read using TextEdit. All renderings are fine! So the fonts in question presumably do have a Cyrillic subset in TextEdit and do not have a cyrillic subset in OOo - this seems strange.
Created attachment 64361 [details] The same file read by TextEdit (a screenshot) with all fonts rendered correctly.
As I said, I don't think the subset exists in your font and of course neither in OOo nor in TextEdit. The only difference is that we might not use a so good fallback as TextEdit (or native MAC Apps). Have a look at your last screenshot. It is obvious that Chicago and Courrier New are not used when you switch your keyboard to Cyrillic. It just seems that the font used as fallback in TextEdit is better the one we use. @HDU: what do you think?
I think that the fallback used in OOo ought to be of MUCH better quality than the ugly font (with huge spaces between characters!) that is used now. Why not use a default font like LucidaGrande (not a CY font), or any other font without these ugly spaces? Thanks a lot.
Reassigning.
Reassigned
.
Reset assigne to the default "issues@openoffice.apache.org".