Symbol fonts in Win32Toolbar_FontCombo


Subject: Symbol fonts in Win32Toolbar_FontCombo
From: Lukas Pietsch (pietsch@mail.uni-freiburg.de)
Date: Thu Jan 04 2001 - 06:04:14 CST


After so much talk about symbol fonts: I just noted that
ap_Win32Toolbar_FontCombo will only accept "ANSI_CHARSET" fonts
and reject Symbol fonts. It's a rather idiosyncratic behaviour
compared with other Windows wordprocessors. Would anybody mind if
the following line:

if (lplf->lfCharSet != ANSI_CHARSET)
  return 1 ;

were replaced with something like:

if !(lplf->lfCharSet & (ANSI_CHARSET | SYMBOL_CHARSET))
   return 1 ;

or similar? (Gosh, this is the first line of C code I've written
in all my life.... Hope it's not too wrong...)

Lukas

mailto:pietsch@mail.uni-freiburg.de



This archive was generated by hypermail 2b25 : Thu Jan 04 2001 - 06:06:40 CST