Avidemux Forum

Avidemux => Windows => Topic started by: Angelka on January 18, 2021, 02:09:52 AM

Title: Font not displaying correctly
Post by: Angelka on January 18, 2021, 02:09:52 AM
Hey guys !

So I wanted to encode a video with some subtitles and I went to check the result beforehand in Preview and I discovered that one of my fonts doesn't display correctly in it altho it's a default Windows font.
The font's name is "Bahnschrift Condensed" and I went to check on VLC for instance, and it shows perfectly...

Has anyone ahd this kind of problem before and is there a solution to it ? (beside obviously going with another font instead...)

Thanks in advance !
Title: Re: Font not displaying correctly
Post by: eumagga0x2a on January 18, 2021, 08:30:02 AM
Do you use a MinGW build? Please try a VC++ one. The bundled libass official MinGW builds are using is very old and exhibits issues you experience. VC++ builds use an external one and therefore should work.

MinGW builds: https://avidemux.org/nightly/win64
VC++ builds: https://avidemux.org/nightly/vsWin64
Title: Re: Font not displaying correctly
Post by: Angelka on January 18, 2021, 01:30:38 PM
Hey ! So indeed i had an older version but still of VC++. Anyway i downloaded the last version now (2.7.7) but still get the same problem :/
It's very strange tho, like it's the first time happening to me and with a default font... Just doesn't make any sense lol !
Title: Re: Font not displaying correctly
Post by: eumagga0x2a on January 18, 2021, 02:30:53 PM
Indeed, upon a quick test on Linux, Bahnschrift works, but styles like Condensed not. gnome-font-viewer sees all variants, LibreOffice like libass see only the default one. https://bugs.documentfoundation.org/show_bug.cgi?id=117673#c16 might be related

The only thing I can think of is to try to build and install the newest libass off git master in order to see whether it fares better than the stock one. If this works on Linux, I would try to get it built in MXE used to generate my private MinGW Avidemux builds.
Title: Re: Font not displaying correctly
Post by: eumagga0x2a on January 18, 2021, 03:48:01 PM
Installing the latest developer version of libass went without a hitch, but it didn't help with the issue. The same applies to VLC on Linux, by the way. "Bahnschrift" is fine, "Bahnschrift Condensed" (or any other style) doesn't work.

This said, I can provide neither a solution nor a prospect of a solution, sorry.
Title: Re: Font not displaying correctly
Post by: Angelka on January 18, 2021, 04:28:21 PM
I see, no worries ! Thanks for taking the time and testing it for me !