Font questions

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Font questions

    Is there a simple method to dynamically change the x and y spacing of a font? Is this also possible for a tab char?
    Is it also possible to change the underline distance of a font.

    Regards,

    Jelle
  • Adrian,

    Thanks for the response.
    So I should edit GUI_FONT.pPropExt->GUI_CHARINFO_EXT.XDist to change the spacing when I create a sif font by GUI_SIF_CreateFont(GUI_SIF_TYPE_PROP_EXT)? Is the GUI_FONT.Baseline parameter used to calculate the distance between the font and the underline? Do I need to call any functions afterwards to update the font? Or is it enough to edit the GUI_FONT struct?

    Regards,

    Jelle