Issue 104062 - MAC: Better fallback font for fonts without Cyrillic subset
Summary: MAC: Better fallback font for fonts without Cyrillic subset
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.1 RC2
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2009-08-06 17:02 UTC by haimk
Modified: 2017-05-20 11:25 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
This is a screenshot with the same Russian text in OOo 3.1 using 4 different fonts (149.49 KB, image/png)
2009-08-06 17:07 UTC, haimk
no flags Details
Here is a sample document the screenshot of which was already attached. (3.50 KB, application/msword)
2009-08-06 23:04 UTC, haimk
no flags Details
looks good on my systems (12.73 KB, image/png)
2009-08-07 09:21 UTC, hdu@apache.org
no flags Details
PDF of the file in question (65.08 KB, application/pdf)
2009-08-11 00:18 UTC, haimk
no flags Details
A zipped folder with two files: the updated file in OOo and its screenshot. (214.73 KB, application/octet-stream)
2009-08-11 18:38 UTC, haimk
no flags Details
When a font is missing a subset, there's a fallback to an other font. (11.41 KB, image/jpeg)
2009-08-24 21:31 UTC, eric.savary
no flags Details
The same file read by TextEdit (a screenshot) with all fonts rendered correctly. (87.88 KB, image/png)
2009-08-24 21:45 UTC, haimk
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description haimk 2009-08-06 17:02:34 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.
Comment 1 haimk 2009-08-06 17:07:41 UTC
Created attachment 63993 [details]
This is a screenshot with the same Russian text in OOo 3.1 using 4 different fonts
Comment 2 eric.savary 2009-08-06 17:14:11 UTC
Please attach a sample document.
Comment 3 haimk 2009-08-06 23:04:58 UTC
Created attachment 64000 [details]
Here is a sample document the screenshot of which was already attached.
Comment 4 hdu@apache.org 2009-08-07 09:20:28 UTC
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.

Comment 5 hdu@apache.org 2009-08-07 09:21:39 UTC
Created attachment 64007 [details]
looks good on my systems
Comment 6 haimk 2009-08-07 16:45:49 UTC
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...
Comment 7 eric.savary 2009-08-10 21:54:19 UTC
@HDU: any other comments than "looks good on my system"? ;)
Should we ask for bthe font? The locale? Any other idea?
Comment 8 haimk 2009-08-11 00:15:44 UTC
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.
Comment 9 haimk 2009-08-11 00:18:15 UTC
Created attachment 64055 [details]
PDF of the file in question
Comment 10 hdu@apache.org 2009-08-11 07:46:07 UTC
@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.
Comment 11 haimk 2009-08-11 18:38:14 UTC
Created attachment 64077 [details]
A zipped folder with two files: the updated file in OOo and its screenshot.
Comment 12 haimk 2009-08-11 18:41:02 UTC
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.
Comment 13 eric.savary 2009-08-24 21:28:54 UTC
@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.
Comment 14 eric.savary 2009-08-24 21:31:04 UTC
Created attachment 64360 [details]
When a font is missing a subset, there's a fallback to an other font.
Comment 15 haimk 2009-08-24 21:43:26 UTC
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.

Comment 16 haimk 2009-08-24 21:45:43 UTC
Created attachment 64361 [details]
The same file read by TextEdit (a screenshot) with all fonts rendered correctly.
Comment 17 eric.savary 2009-08-24 22:27:34 UTC
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?
Comment 18 haimk 2009-08-25 01:19:08 UTC
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.
Comment 19 eric.savary 2009-08-25 15:08:06 UTC
Reassigning.
Comment 20 eric.savary 2009-09-21 14:37:11 UTC
Reassigned
Comment 21 eric.savary 2009-09-21 14:43:47 UTC
.
Comment 22 Marcus 2017-05-20 11:24:49 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 23 Marcus 2017-05-20 11:25:54 UTC
Reset assigne to the default "issues@openoffice.apache.org".