Re: psdrv: map Courier New to Courier

2001-02-06 Thread Ian Pilcher
On Mon, 05 Feb 2001, you wrote: Well, I couldn't get GetPrinterData to work. The driver would compile OK, but Wine was unable to load the driver, because it couldn't resolve the 'GetPrinterData' symbol. (Probably something I did wrong.) You'd need to add the line import winspool.drv

Re: psdrv: map Courier New to Courier

2001-02-04 Thread gerard patel
At 05:40 PM 3/2/01 +0600, you wrote: snip I cannot get this patch to apply. I've tried it with a CVS pull from earlier today and one from 1/29. With both, I get: patching file include/winspool.h Hunk #1 FAILED at 957. 1 out of 1 hunk FAILED -- saving rejects to file include/winspool.h.rej snip

Re: psdrv: map Courier New to Courier

2001-02-04 Thread Huw D M Davies
On Sat, Feb 03, 2001 at 04:18:45PM +0600, Ian Pilcher wrote: I just spent some time poking around in the Registry of my Windows 2000 system. Neither "TTFontSubTable" or "FontSubTable" appears anywhere. (I have printers installed that use both the Adobe and Microsoft Post- Script drivers.)

Re: psdrv: map Courier New to Courier

2001-02-04 Thread Ian Pilcher
Huw D M Davies wrote: We don't need to worry about compatibility with the native drivers to this extent (this data is private to the driver), I was just using this as an example to how a native driver does save its data. I'm glad you feel that way. I've implemented it as:

Re: psdrv: map Courier New to Courier

2001-02-03 Thread Ian Pilcher
Huw D M Davies wrote: Great! Well the Windows 2000 PS driver stores the font sub table under the value name "TTFontSubTable" in the printer driver's PrinterDriverData registry key. To do this we need to implement Get/SetPrinterData (if you give me a couple of days I'll do it). The data

Re: psdrv: map Courier New to Courier

2001-02-03 Thread Ian Pilcher
Huw D M Davies wrote: OK, I've just submitted G|SetPrinterData implementations to wine-patches - please use these instead of direct Reg apis. (it should make life easier anyway. I cannot get this patch to apply. I've tried it with a CVS pull from earlier today and one from 1/29. With

Re: psdrv: map Courier New to Courier

2001-02-02 Thread Huw D M Davies
On Thu, Feb 01, 2001 at 11:19:31PM +0600, Ian Pilcher wrote: I think I can probably handle reading the registry. (Although from what little I've seen of the Win32 API, even that could be a night- mare.) OK, I've just submitted G|SetPrinterData implementations to wine-patches - please use

Re: psdrv: map Courier New to Courier

2001-02-01 Thread Ian Pilcher
Gavriel State wrote: Just FYI, the corelwine tree has support for psdrv font mapping that you might be able to use - it uses the wine config file rather than the registry to store font aliases, but as I recall it was a pretty minor change in the psdrv code. This may be a stupid question,

Re: psdrv: map Courier New to Courier

2001-02-01 Thread James Abbatiello
Ian Pilcher wrote: Gavriel State wrote: Just FYI, the corelwine tree has support for psdrv font mapping that you might be able to use - it uses the wine config file rather than the registry to store font aliases, but as I recall it was a pretty minor change in the psdrv code. This

Re: psdrv: map Courier New to Courier

2001-02-01 Thread Ian Pilcher
Huw D M Davies wrote: Great! Well the Windows 2000 PS driver stores the font sub table under the value name "TTFontSubTable" in the printer driver's PrinterDriverData registry key. To do this we need to implement Get/SetPrinterData (if you give me a couple of days I'll do it). The data

Re: psdrv: map Courier New to Courier

2001-02-01 Thread Dmitry Timoshkov
Gavriel State [EMAIL PROTECTED] wrote: It's at http://opensource.corel.com It hasn't been updated in quite a while, and the last import from WineHQ was back in December '99, I believe. In addition to the font/printing work, there may still be a few other outstanding fixes that haven't made

Re: psdrv: map Courier New to Courier

2001-02-01 Thread Gavriel State
Ian Pilcher wrote: This may be a stupid question, but where is the Corel Wine tree? It's at http://opensource.corel.com It hasn't been updated in quite a while, and the last import from WineHQ was back in December '99, I believe. In addition to the font/printing work, there may still be a

Re: psdrv: map Courier New to Courier

2001-01-30 Thread Huw D M Davies
On Tue, Jan 30, 2001 at 09:19:46AM +0600, Ian Pilcher wrote: I'll take the user-configurable mappings as a project. It should be a good one for me, since I don't know the Win32 API, or X, or PostScript ..., but I do know C. Can anyone point me to the files I should read to see how Wine

Re: psdrv: map Courier New to Courier

2001-01-29 Thread Ian Pilcher
Huw D M Davies wrote: Huw D M Davies [EMAIL PROTECTED] Map 'Courier New' to 'Courier'. Hmm. I haven't been able to get Courier to scale properly. (It prints way too large from Lotus Notes.) I was actually thinking of doing exactly the reverse. What do you think of the