1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-21 15:25:17 +03:00

Review font offset (#7622)

Review font offset
This commit is contained in:
3djc 2020-05-22 19:53:22 +02:00 committed by GitHub
parent bb40239f5d
commit 61ca2cb64b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 7 deletions

View file

@ -10,12 +10,12 @@ set(FONT_OFFSET 1)
#set(FONT_BOLD "Ubuntu/Ubuntu-Bold")
#set(FONT_OFFSET 1)
add_truetype_font_target(480x272 tinsize ${FONT} 9 ${FONT_OFFSET})
add_truetype_font_target(480x272 smlsize ${FONT} 13 ${FONT_OFFSET})
add_truetype_font_target(480x272 stdsize ${FONT} 16 ${FONT_OFFSET})
add_truetype_font_target(480x272 stdsizebold ${FONT_BOLD} 16 ${FONT_OFFSET})
add_truetype_font_target(480x272 midsize ${FONT} 24 ${FONT_OFFSET})
add_truetype_font_target(480x272 dblsize ${FONT_BOLD} 32 ${FONT_OFFSET})
add_truetype_font_target(480x272 xxlsize ${FONT_BOLD} 64 ${FONT_OFFSET})
add_truetype_font_target(480x272 tinsize ${FONT} 9 0)
add_truetype_font_target(480x272 smlsize ${FONT} 13 0)
add_truetype_font_target(480x272 stdsize ${FONT} 16 0)
add_truetype_font_target(480x272 stdsizebold ${FONT_BOLD} 16 1)
add_truetype_font_target(480x272 midsize ${FONT} 24 0)
add_truetype_font_target(480x272 dblsize ${FONT_BOLD} 32 0)
add_truetype_font_target(480x272 xxlsize ${FONT_BOLD} 64 0)
add_custom_target(ttf_horus_fonts DEPENDS ${ttf_480x272_fonts_targets})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Before After
Before After

View file

@ -1728,6 +1728,9 @@ const luaR_value_entry opentxConstants[] = {
{ "DBLSIZE", DBLSIZE },
{ "MIDSIZE", MIDSIZE },
{ "SMLSIZE", SMLSIZE },
#if defined(COLORLCD)
{ "TINSIZE", TINSIZE },
#endif
{ "INVERS", INVERS },
{ "BOLD", BOLD },
{ "BLINK", BLINK },