https://bugs.documentfoundation.org/show_bug.cgi?id=72042

--- Comment #19 from Tomofumi Yagi <ya...@mknada.sakura.ne.jp> ---
(In reply to Matthew Francis from comment #18)
> Despite the commit in comment 16, font names still seem not to be localised
> on LibreOffice 4.4.0.3 / OSX 10.9.5 (desktop and LO both set to Chinese
> locale)

Thank you.

I have confirmed on LibreOffice 5.0.0.0.beta1+ / OSX 10.10.3 (desktop and LO
both set to Chinese locale) 

Third parameter 'language' for CTFontDescriptorCopyLocalizedAttribute() is
incorrect on chinese locale.
CTFontDescriptorCopyLocalizedAttribute() needs "The language identifier will
conform to the RFC 3066bis standard."

https://developer.apple.com/library/mac/documentation/Carbon/Reference/CTFontDescriptorRef/#//apple_ref/c/func/CTFontDescriptorCopyLocalizedAttribute

We need to use correct language identifer.
In addition, we probably need to convert the language identifer to acceptable
for CTFontDescriptorCopyLocalizedAttribute(), too(e.x. from "zh-CN" to
"zh-Hans").

I will try to fix,if possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to