Skip to content

different behavior of hb_ft_font_set_funcs vs hb_ot_font_set_funcs in vertical, one of them is broken #1248

@HinTak

Description

@HinTak

288 vs 216 is a lot of difference - one of them is broken (actually I know which one...):

hb-view --font-funcs=ft --direction=ttb  -o a.png -O png  msmincho.ttc   '《日本ょ》'
$ file a.png
a.png: PNG image data, 288 x 1312, 8-bit grayscale, non-interlaced
$ hb-view --font-funcs=ot --direction=ttb  -o a.png -O png  msmincho.ttc   '《日本ょ》'
$ file a.png
a.png: PNG image data, 216 x 1312, 8-bit grayscale, non-interlaced

Metadata

Metadata

Assignees

No one assigned

    Labels

    VerticalVertical text direction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions