Skip to content

Strange rendering errors on OS X with CoreText-enabled HarfBuzz and AAT fonts #212

@ghost

Description

This was "found" with mpv's OSD renderer (which uses libass to render text and other stuff).

It works when forcing fontconfig.

[Script Info]
ScriptType: v4.00+
WrapStyle: 0
PlayResX: 512
PlayResY: 288
ScaledBorderAndShadow: yes
YCbCr Matrix: TV.709

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: progbar,sans-serif,22,&H00ffffff,&H00ffffff,&H00000000,&H7ff0f0f0,0,0,0,0,100,100,0,0,1,1.200000,0,7,10,10,8,1
Style: OSD,sans-serif,22,&H00ffffff,&H00ffffff,&H00000000,&H7ff0f0f0,0,0,0,0,100,100,0,0,1,1.200000,0,7,10,10,8,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:02.00,progbar,,0,0,0,,{\an6\pos(60.150002,241.089996)}
Dialogue: 0,0:00:00.00,0:00:02.00,progbar,,0,0,0,,{\bord0\pos(64.000000,208.649994)}{\p4} m 0 0 l 15 0 l 15 72 l 0 72{\p0}
Dialogue: 0,0:00:00.00,0:00:02.00,progbar,,0,0,0,,{\pos(64.000000,236.589996)}{\p4} m -6 -6 l 3078 -6 l 3078 78 l -6 78 m 0 0 l 0 72 l 3072 72 l 3072 0 m 207 0 l 199 8 l 191 0 m 191 72 l 199 64 l 207 72 m 396 0 l 387 8 l 379 0 m 379 72 l 387 64 l 396 72 m 1375 0 l 1367 8 l 1358 0 m 1358 72 l 1367 64 l 1375 72 m 2828 0 l 2820 8 l 2811 0 m 2811 72 l 2820 64 l 2828 72 m 3017 0 l 3008 8 l 3000 0 m 3000 72 l 3008 64 l 3017 72{\p0}
Dialogue: 0,0:00:00.00,0:00:03.00,OSD,,0,0,0,,osd text

http://0x0.st/HmJ.png

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions