Well that's cool. What you are implying is that Microsoft Windows has a
long-term flaw (or bug) that has never been resolved!


On 2021-12-08 at 9:45 AM, Antonio Scuri <[email protected]> wrote:



  Ok So you are actually using the Win32 based driver.



  We use native functions to do the drawing. Text drawing is done by TextOut
Win32 api function. Whe text orientation is used we simply use CreateFont with
an angle parameter.




  So there isn't much I can do.




Best,

Scuri






Em ter., 7 de dez. de 2021 11:43, Andrew Robinson <[email protected]>
escreveu:




Sorry about that. I told you I'm new to this ... anyways, it's CD_IUP.


On 2021-12-07 at 6:46 AM, Antonio Scuri <[email protected]> wrote:


You did when you call the cdCreateCanvas function, the parameter is the
driver. And if cdUseContextPlus is called.



Em ter., 7 de dez. de 2021 às 10:44, Andrew Robinson <[email protected]>
escreveu:




I presume it would have to be the default for Windows since I don't every
specify one.


On 2021-12-06 at 4:34 PM, Antonio Scuri <[email protected]> wrote:


  Which Driver?



Em seg., 6 de dez. de 2021 às 19:41, Andrew Robinson <[email protected]>
escreveu:




Ola Antonio,




I'm using cdCanvasTextOrientation and I see a flaw with the algorithm used.
When I rotate the text "Strength" by 45.0 degrees, I get the following result:









The characters are no longer aligned and the spacing between the characters
has changed. A 180 degree rotation has no issues, just all the ones inbetween
0 and 180.




Thanks,

Andrew




I'm using Win10, CD v5.11.1, and I'm using a cdCanvasFont of "Courier",
CD_BOLD, 10 pixels.
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to