Hi Rob
How can I do that?!

Kind regards

On Monday, July 26, 2021 at 9:13:47 PM UTC+4:30 [email protected] wrote:

> Hi Majid,
>
> Normally a character fits on one row in height when it is at most 8 pixels 
> high so that's why it is straight forward to print a font like 5 * 7 or 6 
> *8. A 8 * 12 font does not fit on one row (12 pixels instead of 8) and if 
> you want to use that font anyway it is rotated but you then also have to 
> rotate your LCD.
>
> A solution would be to implement the font without rotation but for that - 
> if I am correct - the driver needs to be updated.
>
> Kind regards,
>
> Rob
>
> ------------------------------
> *Van:* [email protected] <[email protected]> namens majid 
> ebru <[email protected]>
> *Verzonden:* maandag 26 juli 2021 12:34
> *Aan:* jallib <[email protected]>
> *Onderwerp:* [jallib] I can't use font8*12?!? 
>  
> Hi to all 
>
> I comeback
> Don't worry , everything is ok
> 🤣🤣🤣
>
> I can't use font 8*12,
> Can someone help and guide me ?!
>
> [image: FontError.png]--;@main 
> include 18f4520 
> pragma target clock 8_000_000 -- xtal frequency 
> pragma target OSC hs 
> pragma target WDT disabled 
> pragma target LVP disabled 
> enable_digital_io() 
> ---------------------------------- GRAPHIC_LCD IO definition ------ 
> var byte GLCD_DATAPRT is portD 
> var byte GLCD_DATAPRT_DIR is portD_direction 
> alias GLCD_E is pin_b0 
> alias GLCD_RW is pin_b1 
> alias GLCD_DI is pin_b2 
> alias GLCD_CS1 is pin_b3 
> alias GLCD_CS2 is pin_b4 
> alias GLCD_RST is pin_b5 
> -- 
> alias GLCD_CS1_DIRECTION is pin_b3_direction 
> alias GLCD_CS2_DIRECTION is pin_b4_direction 
> alias GLCD_RST_DIRECTION is pin_b5_direction 
> alias GLCD_E_DIRECTION is pin_b0_direction 
> alias GLCD_RW_DIRECTION is pin_b1_direction 
> alias GLCD_DI_DIRECTION is pin_b2_direction 
> -- 
> --const GLCD_CLIPPING = TRUE -- enable clipping (of ellipse) 
> -- 
> include delay 
> include glcd_5x7_font 
> include glcd_6x8_font 
> include glcd_8x12_font 
> include glcd_font 
> glcd_font_use(FONT_5X7) 
> -- 
> include glcd_ks0108 
> include glcd_common 
> -- 
> glcd_init() 
> glcd_clear_screen() 
> -------------------------------- 
> glcd_font_use(FONT_8X12) 
> glcd_char_goto(1, 1) 
> print_string(glcd,"Seting") 
> delay_1s(2) 
> --------------------------------- 
> glcd_font_use(FONT_6X8) 
> glcd_char_goto(1, 20) 
> print_string(glcd,"Seting") 
> delay_1s(2) 
> --------------------------------- 
> glcd_font_use(FONT_5X7) 
> glcd_char_goto(1, 40) 
> print_string(glcd,"Seting") 
> delay_1s(2) 
> --------------------------------- 
> forever loop 
> end loop 
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jallib/31ef555f-20d0-47e8-bb11-870dc1877093n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jallib/31ef555f-20d0-47e8-bb11-870dc1877093n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/90492dd8-0227-4d25-9af7-2a867a943336n%40googlegroups.com.

Reply via email to