cancel
Showing results for 
Search instead for 
Did you mean: 

I can not create the binnary fonts.

Fchen.1864
Associate II

I follow the website https://touchgfx.zendesk.com/hc/en-us/articles/360024979552-Using-Binary-Fonts-and-the-Font-Cache. But i can not create any binary fonts. The app.mk is like that :

# Relative location of the TouchGFX framework from root of application

touchgfx_path := ../../Middlewares/ST/TouchGFX/touchgfx

# Optional additional compiler flags

user_cflags := -DUSE_BPP=16

# Settings for image converter output format

alpha_dither := yes

# Dither algorithms: 0 (no dither), 1 (Floyd-Steinberg), 2 (Jarvis, Judice and Ninke), 3 (Stucki)

dither_algorithm := 2

opaque_image_format := RGB565

non_opaque_image_format := ARGB8888

# Settings for image converter screen orientation (empty string =

# default value, -rotate90 rotates the image 90 degrees)

screen_orientation :=

# Settings for Hardware accelerated text rendering on STM32F4 and F7

# devices. Must correspond to value of bitsPerPixel for font to have

# any effect. If A4 blitcap is enabled for target specific HAL the

# fontconverter must generate compliant data format, otherwise

# resulting in a DMA Controller Configuration Error.

text_data_format := A4

# Setting for the textconverter. Identical texts across all languages

# are mapped to the same memory region to save internal flash memory

remap_identical_texts := no

# Location of the TouchGFX Environment

touchgfx_env := G:/TouchGFX/4.12.3/env

text_converter_options := remap A4 binary_fonts

Who can tell me what went wrong.Or give me a specific example.

Thank you very much.

10 REPLIES 10

Check the TouchGFX folder?

/Martin