Replies: 7 comments 6 replies
-
Are you talking about a newly created custom font? What is the language of the font? All existed library fonts do not needs the adjustments, as far I know.
Please to clarify this. What does it mean? |
Beta Was this translation helpful? Give feedback.
-
A couple months ago I tried to show a Devanagary in my library:
Sorry, but OR output is not supported in the library. To show the letters correctly you have to edit glyphs, set all overlapping margins transparent: |
Beta Was this translation helpful? Give feedback.
-
@agganitk |
Beta Was this translation helpful? Give feedback.
-
DMD class has a function to select graphics mode, for example
but by default only GRAPHICS_NORMAL and GRAPHICS_NOR is supported. You can try to uncomment the GRAPHICS_OR case in the switch in |
Beta Was this translation helpful? Give feedback.
-
Yes, by default text scrollis by moving the entire screen.. To avoid this you need to add to the setup:
And to manage fixed and scrolling texts in the same screen you have to use a dual buffering mode. See the example
Why you can't this? If you got a compiler errors, please show it in the message. |
Beta Was this translation helpful? Give feedback.
-
Arduino: 1.8.5 (Windows 10), Board: "Generic STM32F103R series, STM32F103RB (20k RAM. 128k Flash), STLink, 72Mhz (Normal), Smallest (default)" In file included from C:\Users\INTEL\Documents\Arduino\libraries\DMD_STM32-dev-V2/DMD_MonoChrome_SPI.h:11:0,
C:\Users\INTEL\Documents\Arduino\libraries\DMD_STM32-dev-V2/DMD_STM32a.h: In function 'void setup()': C:\Users\INTEL\Documents\Arduino\libraries\DMD_STM32-dev-V2/DMD_STM32a.h:326:7: error: 'void DMD::set_graph_mode(uint8)' is protected void set_graph_mode(uint8_t gm = GRAPHICS_NORMAL ) {
dmd_mono_test:137: error: within this context
exit status 1 |
Beta Was this translation helpful? Give feedback.
-
Understood.... The function definition should be moved to the public section of the DMD class... |
Beta Was this translation helpful? Give feedback.
-
I want to display language other than english, so able to display it successfully.
But there is gap between some characters and there is also overlapping. As I far I know I need to adjust Advance and offset parmeters in GFXglyph - I adjusted and got some success.
To appear text correctly , I also need to apply OR function between two characters. Any advice. !!
Do i need to use GRAPHICS_OR .... if yes then how to select, I dont see any function.
Beta Was this translation helpful? Give feedback.
All reactions