• Shachar Shemesh's avatar
    - Implemented two lookup tables for the sample fonts. The first, · ee63d5ee
    Shachar Shemesh authored
      "CHARSET_ORDER", is for converting codepage to ordinal charset num,
      and the second, "SAMPLE_LANG_TEXT", is for giving the actual sample
      text.
    - Removed all references to changing the font directly in stc5.
    - Modified the "InvalidateRect" calls to invalidate the rect where
      stc5 is, rather than stc5 itself.
    - Added handling of WM_PAINT that draws the sample text, properly
      truncated.
    - Removed handling of WM_CTLCOLOR - no longer neccessary.
    ee63d5ee
fontdlg.c 44.6 KB