View previous topic :: View next topic |
Author |
Message |
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Mon Sep 07, 2015 9:37 pm Post subject: Distinguish Color & BW fonts |
|
|
Bascom support "Color" and "B/W" fonts. "Color" has horizontal layout, "B/W" - vertical. First has 8-multiple width, second - 8-multiple height. So in some cases better to use both types or make universal library. Font files differ with "'Color" string. In "B/W" font file this string is missing.
Is there in Bascom an internal variable to distinguish between "Color" & "B/W"?
(BASCOM-AVR version : 2.0.7.9 , Latest : 2.0.7.8 ) |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Wed Sep 09, 2015 1:45 pm Post subject: |
|
|
no there is no variable or constant. the lib driver handles the different font files.
i thought about universal font files too, but depending on the lcd, it can be simpler/faster to store the data different.
what could be possible, is a universal font and that the compiler will change the data according the settings. _________________ Mark |
|
Back to top |
|
|
O-Family
Joined: 23 May 2010 Posts: 320 Location: Japan
|
Posted: Mon May 04, 2020 3:20 am Post subject: |
|
|
Is there a way to convert a monochrome font to a color font?
Is it possible to add the function to open a monochrome font in Font Editor and save it as a color font? |
|
Back to top |
|
|
O-Family
Joined: 23 May 2010 Posts: 320 Location: Japan
|
Posted: Thu May 14, 2020 11:03 am Post subject: Color Font Converter |
|
|
Since there is an urgent need to convert the original monochrome font to the color font, I created a converter.
To support the color LCD library, the font size is only a multiple of 8 dots for both [X] and [Y].
The converted font file is saved as [Color_] + font file name in the same directory as the conversion source.
We haven't done much testing, so please let us know if you have any problems. |
|
Back to top |
|
|
ampervadasz78
Joined: 14 Jul 2016 Posts: 3
|
Posted: Sat Jul 11, 2020 6:21 pm Post subject: Re: Color Font Converter |
|
|
O-Family wrote: | Since there is an urgent need to convert the original monochrome font to the color font, I created a converter.
To support the color LCD library, the font size is only a multiple of 8 dots for both [X] and [Y].
The converted font file is saved as [Color_] + font file name in the same directory as the conversion source.
We haven't done much testing, so please let us know if you have any problems. |
Fantastic! |
|
Back to top |
|
|
|