
SEGGER - Florian Administrator
- Member since Oct 24th 2019
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
SEGGER - Florian -
Replied to the thread Colors wrong after update from emWin 6.30 to emWin 6.32.
PostHi Andreas, Yes, the swapped colors look like the color format was switched from ABGR to ARGB. The folks from KEIL can probably tell you why they switched it, but I suppose they did because we recommend to use ARGB which is now the standard. Quote from… -
SEGGER - Florian -
Replied to the thread How do I use functions named GUI_Disp... and GUI_Draw... for drawing on a widget?.
PostHi, The easiest way would indeed be to place a TEXT widget on top of the IMAGE widget. The other way would be to call the GUI_Disp... routine within a callback when reacting on a WM_PAINT message. In other words, you would handling of the widget… -
SEGGER - Florian -
Replied to the thread Overlap of values without being clear.
PostHi, Which emWin version are you using? And could you please share a code snippet to reproduce this behavior? Thanks and best regards, Florian -
SEGGER - Florian -
Replied to the thread Max Size of TTF Font.
PostHi Martin, Our TTF module uses FreeType's caching sub-system, which also uses 8bit variables to store height and width of character glyph bitmaps (see the struct members "height" and "width" of FTC_SBitRec). FreeType is able to render glyphs bigger… -
SEGGER - Florian -
Replied to the thread Max Size of TTF Font.
PostHi Mali, The font size of a GUI_FONT is limited to 255 because the font height is stored in an unsigned char (8 bits). The same is true for fonts generated with the FreeType engine. However, FreeType only allows to request a given pixel size instead of…