Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Distinguish Color & BW fonts

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Mon Sep 07, 2015 9:37 pm    Post subject: Distinguish Color & BW fonts Reply with quote

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
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5096
Location: Holland

blank.gif
PostPosted: Wed Sep 09, 2015 1:45 pm    Post subject: Reply with quote

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
View user's profile Visit poster's website
O-Family

Bascom Expert



Joined: 23 May 2010
Posts: 188
Location: Japan

japan.gif
PostPosted: Mon May 04, 2020 3:20 am    Post subject: Reply with quote

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
View user's profile Visit poster's website
O-Family

Bascom Expert



Joined: 23 May 2010
Posts: 188
Location: Japan

japan.gif
PostPosted: Thu May 14, 2020 11:03 am    Post subject: Color Font Converter Reply with quote

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
View user's profile Visit poster's website
ampervadasz78

Bascom Member



Joined: 14 Jul 2016
Posts: 2

hungary.gif
PostPosted: Sat Jul 11, 2020 6:21 pm    Post subject: Re: Color Font Converter Reply with quote

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
View user's profile AIM Address
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum