« FamilyTypeface.DeviceFontCharacterMetrics | Main | Font BlackBox in WPF »

2007.12.06

フォントによる WPF 縦書きの違い

IsSideways で正常に縦書き表示できるフォントの TopSideBearingsBottomSideBearings は正常に取得できる。

image

こうなってしまうフォントもある。このフォントでは IsSideways だけで縦書き仕様としてもうまく行かない。

image

GSUB の処理をアプリで回避したけど、縦書き用 GPOS  が処理できていないのか。あるいはフォント側の問題で、GSUB/GPOS ではなくて cmap を使ってレンダリングしてやらなければいけないのか。

Meiryo は縦書きできるけど、TopSideBearings と BottomSideBearings が怪しい。

|

« FamilyTypeface.DeviceFontCharacterMetrics | Main | Font BlackBox in WPF »

Comments

Post a comment



(Not displayed with comment.)




TrackBack

TrackBack URL for this entry:
http://app.cocolog-nifty.com/t/trackback/2111/17289041

Listed below are links to weblogs that reference フォントによる WPF 縦書きの違い:

» Font BlackBox in WPF [さすらいの .NET プログラマー]
フォントによって BlackBox の縦位置が正しく取れない問題 は、計算方法が [Read More]

Tracked on 2007.12.08 at 08:44 PM

« FamilyTypeface.DeviceFontCharacterMetrics | Main | Font BlackBox in WPF »