Oleg Oshmyan

Results 363 comments of Oleg Oshmyan

@Seeder101 Could you please post the relevant lines from the ASS stream/file? We’ll need the two `Dialogue` lines that contain the white and the grey text and the corresponding `Style`...

Thanks! So my guess was right: the grey text has its own event and a `\pos`. Huh, that last one looks particularly curious. So there’s multiple word overlays at the...

So, at least for the specific file these screenshots are from, adding `Kerning: yes` to the ASS headers makes libass’ output almost perfectly match VSFilter’s. (Note: VSFilter doesn’t understand the...

Okay, so, for starters, while not directly relevant to this issue, it seems GDI keeps a per-process cache of kerning values indexed by some sort of font name. When I...

By the way, when `\fsp` is nonzero, VSFilter renders text character-by-character. We have already disabled ligatures in this case in 50c53a1330e61d14808630b9d054b9aaaa9b0031, but actually, this means all contextual and glyph-pair OpenType...

Ah, I’ve figured it out. `GetTextExtentPoint32` is fine; the width/display discrepancy is VSFilter’s own fault. I’d forgotten that it computes the width of each “word” separately, where a “word” is...

Meanwhile, the way `TextOutW` and `GetTextExtentPoint32` decide whether to be stupid or to honour OpenType is by asking Uniscribe’s [`ScriptIsComplex`](https://msdn.microsoft.com/en-us/library/windows/desktop/dd368554%28v=vs.85%29.aspx) and (if it says no) checking whether the font contains...

Mostly that as far as ASS is concerned, but there _are_ also a couple HarfBuzz/Uniscribe incompatibilities: see my first and second bullet points in [the list above](#issuecomment-240568691). But I’m not...

Some test strings for the HarfBuzz/Uniscribe/CoreText discrepancies, in C string format to make the overrides visible: ``` L",\u201C,\u201C,\u201C,\u201C\u0645\u0631\u062D\u0628\u0627" L",“,“,“,“مرحبا" /* seems to be rendered differently by CoreText depending on base...

Oh, you also need the font. I couldn’t find any licensing information, so [here’s the file](http://chortos.selfip.net/~astiob/One_Dice_11.ttf).