Array Size issue

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

    • Array Size issue

      Hi,
      I have created c Array from XBF file with limited characters.
      It works fine until I add one Chinese character to my font.
      Adding only one Chinese character increases size of the array too much.(2590 bytes to 384331 bytes)
      Can anyone explain how I can avoid this.
      Adding files for reference.

      Thanks!
      Files
      • test.zip

        (16.75 kB, downloaded 222 times, last: )
    • Hi,

      emWin offers two file formats to store emWin fonts externally: XBF fonts and SIF fonts.

      While XBF fonts offer a performance advantage over SIF fonts, the downside is that they can become larger in size. Especially if the gaps between the characters are big (such as 0x7F and 0xF900 as in your case).

      If you rather want a smaller font file, I would suggest that you use SIF fonts rather than XBF fonts.

      Best regards,
      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.