#121 Font smoothing is preferred when experience option is lan

open
nobody
None
5
2012-11-29
2008-02-19
Anonymous
No

Microsoft genuine remote desktop client enables font smoothing when Experience option is LAN. However, rdesktop 1.5.0 disables font smoothing even if -x option is l[an].

It seems that 8th bit of g_rdp5_performanceflags is the control flag of font smoothing. A small patch that enables font smoothing is attached.

Discussion

  • Logged In: YES
    user_id=335423
    Originator: NO

    Curious, does this patch cause text to be transferred as pre-rendered bitmaps rather than cached 1-bit depth font + text?

     
  • i see that in your patch you have defined RDP5_DISABLE_NOTHING 0x80 from 0x00 and RDP5_FONT_SMOOTHING as 0x80. Is the RDP5_DISABLE_NOTHING change intentional?

     
  • derelict
    derelict
    2011-05-05

    RDP5_DISABLE_NOTHING 0x80 allows the -x l option to work with font smoothing. Otherwise the experience has to be set by the hex code:

    rdesktop -x 0x8F mywinserver # equals the modem default + font smoothing
    rdesktop -x 0x81 mywinserver # equals the broadband default + font smoothing
    rdesktop -x 0x80 mywinserver # equals the LAN default + font smoothing

    For clarification see:
    http://katastrophos.net/andre/blog/2008/03/10/rdesktop-connect-to-windows-vista-with-cleartype-font-smoothing-enabled/