Odd Font Problem



  • I have an application that draws rotated fonts. On some systems
    (XP,2000) it draws properly, on other systems (some XP [namely, my
    machine]) do not draw properly. On those that do not draw properly,
    negating the orientation and escapement corrects the problem.



    Initially I thought it was a difference between XP and 2000, but now
    seems to be a difference between my machine and the rest of the world.



    What would cause a difference in the way the font rotates, and is it something that can be detected in the app?



  • @Mike R said:

    What would cause a difference in the way the font rotates, and is it something that can be detected in the app?

    <FONT face="Courier New" size=2>you need to switch from helvetica into the more refined comic sans.</FONT>



  • @emptyset said:

    @Mike R said:

    What would cause a
    difference in the way the font rotates, and is it something that can be
    detected in the app?

    <font face="Courier New" size="2">you need to switch from helvetica into the more refined comic sans.</font>



    Gah! No! Anything but Comic Sans.



  • @Mike R said:

    I have an application that draws rotated fonts. On some systems
    (XP,2000) it draws properly, on other systems (some XP [namely, my
    machine]) do not draw properly. On those that do not draw properly,
    negating the orientation and escapement corrects the problem.



    Initially I thought it was a difference between XP and 2000, but now
    seems to be a difference between my machine and the rest of the world.



    What would cause a difference in the way the font rotates, and is it something that can be detected in the app?




    A little more information, btw:



    This does not occur when the Window Extent and Viewport are at the
    defaults. In the application that is showing this behavior, the
    coordinate system is set up so that the bottom, left is (0,0) instead
    of it being the usual top,left.



  • @Mike R said:

    @Mike R said:
    I have an application that draws rotated fonts. On some systems
    (XP,2000) it draws properly, on other systems (some XP [namely, my
    machine]) do not draw properly. On those that do not draw properly,
    negating the orientation and escapement corrects the problem.



    Initially I thought it was a difference between XP and 2000, but now
    seems to be a difference between my machine and the rest of the world.



    What would cause a difference in the way the font rotates, and is it something that can be detected in the app?




    A little more information, btw:



    This does not occur when the Window Extent and Viewport are at the
    defaults. In the application that is showing this behavior, the
    coordinate system is set up so that the bottom, left is (0,0) instead
    of it being the usual top,left.




    Do you think this could be related to your insurance woes?



    Just kidding - no insight to offer here but I felt like being a jerk. Good luck with figuring this out.



    Sincerely,



    Richard Nixon



  • @Richard Nixon said:

    no insight to offer here but I felt like being a jerk.

    <FONT face="Courier New" size=2>i had to do a double-take on this line.  i think it's the funniest thing you've ever posted.  not intentionally funny.</FONT>



  • @emptyset said:

    @Richard Nixon said:

    no insight to offer here but I felt like being a jerk.

    <font face="Courier New" size="2">i had to do a double-take on this line.  i think it's the funniest thing you've ever posted.  not intentionally funny.</font>



    What a left-handed compliment; I am highly offended.

    Sincerely,

    Richard Nixon


  • @Richard Nixon said:

    What a left-handed compliment; I am highly offended.

    <FONT face="Courier New" size=2>i think you've just offended all lefties with that compliment.</FONT>



  • @emptyset said:

    @Richard Nixon said:

    What a left-handed compliment; I am highly offended.

    <font face="Courier New" size="2">i think you've just offended all lefties with that compliment.</font>



    I'm left-handed. I'm not offended. Thus, all left-handers have not been offended.

    Sincerely,

    Richard Nixon


  • @Richard Nixon said:

    @emptyset said:

    @Richard Nixon said:

    What a left-handed compliment; I am highly offended.

    <font face="Courier New" size="2">i think you've just offended all lefties with that compliment.</font>



    I'm left-handed. I'm not offended. Thus, all left-handers have not been offended.

    Sincerely,

    Richard Nixon


    Illicit major. You may conclude that "not all left-handers have been offended" or "some left-handers have not been offended", but "all left-handers have not been offended" cannot be drawn from the premises given.


  • An off-handed compliment that highly lefthands?



  • @Stan Rogers said:

    @Richard Nixon said:
    @emptyset said:

    @Richard Nixon said:

    What a left-handed compliment; I am highly offended.

    <font face="Courier New" size="2">i think you've just offended all lefties with that compliment.</font>



    I'm left-handed. I'm not offended. Thus, all left-handers have not been offended.

    Sincerely,

    Richard Nixon


    Illicit major. You may conclude that "not all left-handers have been offended" or "some left-handers have not been offended", but "all left-handers have not been offended" cannot be drawn from the premises given.


    Wrong.

    You get 0 points today for your misunderstanding of illicit major.

    Sincerely,

    Richard Nixon


  • @Richard Nixon said:





    Do you think this could be related to your insurance woes?






    Damn insurance companies. They're to blame!



    Just kidding - no insight to offer here but I felt like being a jerk. Good luck with figuring this out.

    Sincerely,

    Richard Nixon


    Augh.. It has to be something I've done to or installed on my machine. Part of the trouble is Google comes up empty, and not many programs do the reversed y-axis mapping that this program has to do.

    Sure, I could save myself the trouble and do the mapping myself, but why reinvent the wheel?



  • @Mike R said:





    Sure, I could save myself the trouble and do the mapping myself, but why reinvent the wheel?






    Wait... was that a WTF comment?



    It would be more work to convert teh coordinate system myself, than to
    use Windows to do it for me despite a glitch with text on one computer.



  • I seem to remember that there was a bug in the Windows GDI API that caused an inverted y-axis.

    This was corrected (not sure what version/sp) and therefore broke a lot
    of code that had workarounds for the bug (including some of MS's own
    code).



    Sorry, I don't remember the specifics...kinda lame, I know.



    HTH



  • Just fishing here, but could it have something to do with font smoothing or cleartype?

    Drak



  • @Richard Nixon said:

    @Stan Rogers said:
    @Richard Nixon said:
    @emptyset said:

    @Richard Nixon said:

    What a left-handed compliment; I am highly offended.

    <font face="Courier New" size="2">i think you've just offended all lefties with that compliment.</font>



    I'm left-handed. I'm not offended. Thus, all left-handers have not been offended.

    Sincerely,

    Richard Nixon


    Illicit major. You may conclude that "not all left-handers have been offended" or "some left-handers have not been offended", but "all left-handers have not been offended" cannot be drawn from the premises given.


    Wrong.

    You get 0 points today for your misunderstanding of illicit major.

    Sincerely,

    Richard Nixon


    I suggest you check again. You are the minor.


  • @Drak said:

    Just fishing here, but could it have something to do with font smoothing or cleartype?

    Drak



    Tried it. No dice.


  • @Stan Rogers said:





    I suggest you check again. You are the minor.




    I did not check anything. I know I am correct and that you are wrong. My suggestion to you is to check again.



    Sincerely,



    Richard Nixon



  • Squabbling over semantics is what makes these forums great.




  • I remember having a similar problem when using VML in Inernet Explorer. Writing text at 90 degree angles sometimes went wrong completely. My solution then was to make a 89.99 degree angle, which seemed to solve the problem (although long text would skew a bit).

     

    Drak


Log in to reply