Cyrillic script substitution font #28


  • New
  • Other
Open
  • Ralol created this issue Apr 26, 2021

    Hi,

     

    I use the QuickSand font via SharedMedias for "Shadowed Unit Frames" or "Details".

    This font does not support Cyrillic characters and therefore I end up with rectangles when playing with Russian players.

    Is it possible to define a default or substitution font when the defined font does not support the alphabet in question?

     

    Thank you in advance.

  • Ralol added the tags New Other Apr 26, 2021
  • Elkano posted a comment May 16, 2021

    LibSharedMedia-3.0 just provides a lookup for file paths.

    When registering a font it allows for some hinting of the supported character sets, however that was only meant to block fonts not supporting those characters on clients that mainly use them.

     

    At the time when text is displayed by an addon it isn't involved anymore. It would thus be up to the addon to provide the ability to fallback to another font when the text has 'foreign' characters.

    I think the chat already does something similar but I don't know how it's done.


To post a comment, please login or register a new account.