Fix doc path
[opentx.git] / radio / src / fonts / 480x272 / CMakeLists.txt
blob09a68efdb1e58eed57750f2d367c8604ab879282
1 set(FONT "Roboto/Roboto-Regular")
2 set(FONT_BOLD "Roboto/Roboto-Bold")
3 set(FONT_OFFSET 1)
5 #set(FONT "Kanit/Kanit-Regular")
6 #set(FONT_BOLD "Kanit/Kanit-Bold")
7 #set(FONT_OFFSET -2)
9 #set(FONT "Ubuntu/Ubuntu-Regular")
10 #set(FONT_BOLD "Ubuntu/Ubuntu-Bold")
11 #set(FONT_OFFSET 1)
13 add_truetype_font_target(480x272 tinsize     ${FONT}      9  ${FONT_OFFSET})
14 add_truetype_font_target(480x272 smlsize     ${FONT}      13 ${FONT_OFFSET})
15 add_truetype_font_target(480x272 stdsize     ${FONT}      16 ${FONT_OFFSET})
16 add_truetype_font_target(480x272 stdsizebold ${FONT_BOLD} 16 ${FONT_OFFSET})
17 add_truetype_font_target(480x272 midsize     ${FONT}      24 ${FONT_OFFSET})
18 add_truetype_font_target(480x272 dblsize     ${FONT_BOLD} 32 ${FONT_OFFSET})
19 add_truetype_font_target(480x272 xxlsize     ${FONT_BOLD} 64 ${FONT_OFFSET})
21 add_custom_target(ttf_horus_fonts DEPENDS ${ttf_480x272_fonts_targets})