Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


武山です

先週から出張などで出ていたので返信が遅くなりました。
すみません。

> CoreText APIをきちんと使う必要がある
その通りだと思います

> I suspect the main issue
> _may_ be which language we localize too in the patch we use
> GetUILanguageTag.getLanguage()  which may be subtly different than what
> macosx natively expect ?

はっきりとは分かりませんが、Mac OS X 側の言語と、LibreOffice の UI 言語 (GetUILanguageTag.getLanguage())が違う場合があるということでしょうか?
# 私の回りでも、Mac OS X の言語を英語にしている人がいます


八木さんがパッチの作成中に(twitterで)書かれていましたが、
フォントウェイトが表示名に含まれなくなりマッチングに失敗するという問題も
あるようです。
#「フォント名 Bold」が「フォント名」になる

(一部の?)マルチウェイトフォントを使っている場合は 4.1 以前や
他の Windows, Linux 版の LibreOffice との相互運用性はないことになります。


Mac に関わらず、どのようにフォント情報をファイルに書き込むか、
そして、どのようにシステム上のフォントとの対応付をするかをしっかりと
固めておかないと、どう修正するか困るのではないかと思います。

現在の OS から来たフォントの表示名と、ファイルに書き込まれた名前の
完全一致では環境依存すぎるので、今後もこのような問題がどんどん
出てくるのではないかと思います。

既に曖昧な状態でファイルが出回ってしまっているので、全 OS 共通で
- 柔軟なマッチング
- かっちりとした仕様(ODF で定義されているのでしょうか?)
の両方をなんとかしないといけないと思うのですが。



(2014/03/07 1:36), Kohei Yoshida wrote:
八木さん、武山さん、

たった今あったESC会議でMacのCoreTextが話題に上ったので前出の日本語
環境による標準フォントの不具合についてちょっと問題提起しておきました。そ
の際に、僕もマックユーザーではないので詳しくは説明できませんでしたが、と
りあえず八木さんが上げてくれたパッチは一時的な回避案で、根本的な解決には
CoreText APIをきちんと使う必要がある、という説明をとりあえずしておきまし
た。これであっているでしょうか?

その後でマックユーザーであるNorbertからIRCで

<shm_get> kohei the localized name is accisble in CoreText via
CTFontDescriptorCopyLocalizedAttribute  which is what
https://gerrit.libreoffice.org/#/c/8071/ does with a fallback code if
that attribute is not available as 'localized'. I suspect the main issue
_may_ be which language we localize too in the patch we use
GetUILanguageTag.getLanguage()  which may be subtly different than what
macosx natively expect ?

という質問を受けたのですが僕にはちんぷんかんぷん(笑)だったのでその場は流
しておきました。マック持ちの人なら意味がわかるかな、と思ってとりあえずこ
こに貼っておきますね。

それと、MacのCoreTextについてはKhaled Hosnyが恐らく一番詳しいらしいの
で、バグ報告の際には彼をCCに入れるといい、とのことです。

以上。

吉田


--
Unsubscribe instructions: E-mail to discuss+unsubscribe@ja.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.