Skip to content

Commit

Permalink
And change the Kobo example again, because we can't use system fonts...
Browse files Browse the repository at this point in the history
  • Loading branch information
NiLuJe committed Nov 4, 2018
1 parent 0e27177 commit f4c32d3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions fbink_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,21 @@ static void
"EXAMPLES:\n"
# ifdef FBINK_FOR_KINDLE
"\tfbink -t regular=/usr/java/lib/fonts/Caecilia_LT_65_Medium.ttf,bold=/usr/java/lib/fonts/Caecilia_LT_75_Bold.ttf,size=24,top=100,bottom=500,left=25,right=50,format \"Hello **world**!\"\n"
"\t\tWill use Caecilia to print 'Hello world!' at 24pt in a display area starting from 100px down the top of the screen to 500px before the bottom of the screen,\n"
# else
"\tfbink -t regular=/usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Caecilia.ttf,bold=/usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Caecilia-Bold.ttf,size=24,top=100,bottom=500,left=25,right=50,format \"Hello **world**!\"\n"
"\tfbink -t regular=/mnt/onboard/fonts/NotoSans-Regular.ttf,bold=/mnt/onboard/fonts/NotoSans-Bold.ttf,size=24,top=100,bottom=500,left=25,right=50,format \"Hello **world**!\"\n"
"\t\tWill use NotoSans to print 'Hello world!' at 24pt in a display area starting from 100px down the top of the screen to 500px before the bottom of the screen,\n"
# endif
"\t\tWill use Caecilia to print 'Hello world!' at 24pt in a display area starting from 100px down the top of the screen to 500px before the bottom of the screen,\n"

"\t\tfrom 25px of the left edge of the screen until 50px before the right edge.\n"
"\t\tHonoring the MarkDown syntax, 'Hello' will be printed with the Regular font style, while 'world' will use the Bold font style.\n"
# ifndef FBINK_FOR_LINUX
# ifndef FBINK_FOR_KINDLE
# ifndef FBINK_FOR_CERVANTES
"\t\tPlease note that you will NOT be able to use system fonts on Kobo, because they're obfuscated. Trying to do so will only lead to a crash.\n"
# endif
# endif
# endif
"\n"
#endif
"\n"
Expand Down

0 comments on commit f4c32d3

Please sign in to comment.