nanogui: PCF font support


Previous by date: 18 Aug 2008 17:44:17 -0000 Re: [nanogui] Keyboard problem, Романов
Next by date: 18 Aug 2008 17:44:17 -0000 Re: microwindow installation problem, Greg Haerr
Previous in thread: 18 Aug 2008 17:44:17 -0000 PCF font support, Романов
Next in thread: 18 Aug 2008 17:44:17 -0000 Re: PCF font support, Evgeny Romanov

Subject: Re: [nanogui] PCF font support
From: "Greg Haerr" ####@####.####
Date: 18 Aug 2008 17:44:17 -0000
Message-Id: <027401c90159$deea1650$6501a8c0@gregnewport>

> 1. Variable "long mwTextCoding" appeared in file "wingdi.c".  It's
> default  value  MWTF_UTF8,  so  ASCII -coding  PCF fonts does not  work
> correctly.
>    I can't found a way, how I change mwTextCoding value from my program.
> For my porpose, I've change its' default value to MWTF_ASCII.

Unfortunately, win32 api doesn't have any mechanism to change
the default encoding, including specification in a seperate
parameter.  We probably need an MwSetTextEncoding or
something to specify the default text encoding for standard
win32 api calls.  You can use the internal MwTextOutExt
which allows a parameter for text encoding, but its not standard.



> 
> 2. I've found, microwindows faults, if fields PCF_BYTE_MASK ore
> PCF_BIT_MASK in *.pcf file not equivalent to zero.
> To solve this problem, I have made patch. It's concerning
> mostly /engine/font_pcf.c , but two macros I've added in /include/swap.h.

Thanks for the patch.  I could have sworn that a version of the
PCF font subdriver handled these, but looks like they were
removed by yet another contributed patch.  I'll get this into
CVS soon so that others can use it, as this may solve
some issues discussed recently.

Regards,

Greg

Previous by date: 18 Aug 2008 17:44:17 -0000 Re: [nanogui] Keyboard problem, Романов
Next by date: 18 Aug 2008 17:44:17 -0000 Re: microwindow installation problem, Greg Haerr
Previous in thread: 18 Aug 2008 17:44:17 -0000 PCF font support, Романов
Next in thread: 18 Aug 2008 17:44:17 -0000 Re: PCF font support, Evgeny Romanov


Powered by ezmlm-browse 0.20.