Custom Text Formatting (Previously: Getting long results in a program)
|
04-22-2024, 12:33 PM
Post: #98
|
|||
|
|||
RE: Custom Text Formatting (Previously: Getting long results in a program)
(04-22-2024 09:09 AM)Tyann Wrote: I've just downloaded the latest version you published. Hi Tyann, The '-1' was intentionally applied because my goal was to maintain compatibility with TEXTOUT_P, which leaves one pixel "p" at the bottom beyond the background (even without formatting). The same applies to accents, as the TEXTOUT_P command for small fonts displays them above the background. Try it: TEXTOUT_P("pÂ",10,10,1,0,255,#BBBBBBh); However, I just noticed that the background should be one pixel higher (but only the top edge, as the bottom one is in the correct position relative to the original TEXTOUT_P), so according to this approach, '-1' should be applied for the bottom edge, and additionally, it should also be applied for the top edge. If compatibility is not important to you, you can change these settings. Piotr Kowalewski |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 66 Guest(s)