Re: Add a test showing that GDI should not scale bitmap font metrics

2004-09-01 Thread Huw D M Davies
On Wed, Sep 01, 2004 at 05:44:19PM +0900, Dmitry Timoshkov wrote: > Hello, > > I had a wild guess whether GDI actually scales or not metrics for > a bitmap font if a requested font size is not available and wrote > a test case for it. No, GDI *does not* scale bitmap font metrics. Well it does do

Re: working together on stdole.tlb and a end to dcom9x

2004-08-29 Thread Huw D M Davies
On Sat, Aug 28, 2004 at 05:59:39PM -0400, Nyef wrote: > The ICreateTypeLib2 interface is used to create the new-style MSFT typelibs. > The older ICreateTypeLib interface is used for the old-style typelibs. While > the newer interface also implements the older one, when you ask for the old > interfa

Re: cleanup w->a cross calls in printdrv

2004-08-29 Thread Huw D M Davies
On Sat, Aug 28, 2004 at 04:27:12PM -0400, James Hawkins wrote: > Index: dlls/gdi/gdi_private.h > === > RCS file: /home/wine/wine/dlls/gdi/gdi_private.h,v > retrieving revision 1.14 > diff -u -r1.14 gdi_private.h > --- dlls/gdi/gdi_priv

Re: Take monospace fonts into account in default font selectionalgorithm.

2004-08-19 Thread Huw D M Davies
On Sat, Aug 07, 2004 at 04:20:11PM +0100, Mike Hearn wrote: > @@ -1717,9 +1719,12 @@ > } > } > > +/* match on charset and style */ > if(!family) { > for(family = FontList; family; family = family->next) { > - if(csi.fs.fsCsb[0] & family->FirstFace->fs.fsCsb[0]

Re: Minor logging improvements to freetype.c

2004-06-01 Thread Huw D M Davies
On Tue, Jun 01, 2004 at 07:09:16PM +0100, Mike Hearn wrote: > On Tue, 01 Jun 2004 11:42:56 +0100, Huw D M Davies wrote: > > You could argue that these three should really be FIXMEs > > My reading of the code is that these indicate bodged/corrupt fonts rather > than known bugs in

Re: Minor logging improvements to freetype.c

2004-06-01 Thread Huw D M Davies
On Mon, May 31, 2004 at 09:47:35PM +0100, Mike Hearn wrote: > Mike Hearn <[EMAIL PROTECTED]> > Change some TRACEs into WARNs, WARN on skipping font due to wrong format. > > Index: dlls/gdi/freetype.c > === > RCS file: /home/wine/wine/

Re: Default to 96dpi for the no config file case

2004-05-28 Thread Huw D M Davies
On Fri, May 28, 2004 at 01:59:02PM +0100, Mike Hearn wrote: > On Fri, 28 May 2004 11:11:32 +0200, Rein Klazes wrote: > > Why do you mean (wrong) ? Do you not get the dpi values used by X? Or is > > it that is uses the X values but those are wrong? > > Well, I talked a bit with Huw about this so ap

Re: Marlett Replacement Useful for Wine?

2004-05-01 Thread Huw D M Davies
On Sat, May 01, 2004 at 08:50:43AM +1000, David Hammerton wrote: > There already is one, > > We (TransGaming) created one called TGMarlett which we released under a > BSD license. It should be floating around somewhere, and at least Huw > (from Codeweavers) has it. > > Perhaps I should send our

Re: mdi: remove child activate optimization

2004-03-15 Thread Huw D M Davies
On Mon, Mar 15, 2004 at 06:49:00PM +0300, Phil Krylov wrote: > Hello Huw, > > Monday, March 15, 2004, 2:27:41 PM, you wrote: > > HDMD> Hi Phil, > > HDMD> Could you send me a +relay,+message,+mdi log of this please? > > It's around 1M in size when bzipped; do you want me to send it to your > ema

Re: mdi: remove child activate optimization

2004-03-15 Thread Huw D M Davies
On Sun, Mar 14, 2004 at 02:16:42AM +0300, Phil Krylov wrote: > Hello Huw, > > Tuesday, March 9, 2004, 1:46:20 PM, you wrote: > > HDMD> Huw Davies <[EMAIL PROTECTED]> > HDMD> We need to at least refresh the window menu in ChildActivate, > HDMD> so for now remove the 'is alr

Re: imagelist: convert to dibsections

2004-02-23 Thread Huw D M Davies
On Sun, Feb 22, 2004 at 10:54:31AM +0100, Maxime Bellengé wrote: > I have submitted a patch which fixes the regression. Thanks for that Max, I missed that while merging from the CrossOver tree - our imagelist implementation has diverged somewhat from winehq's. Huw. -- Huw Davies [EMAIL PROTECTED

Re: Compatability problem in wineps driver

2004-02-12 Thread Huw D M Davies
On Tue, Feb 10, 2004 at 12:33:46PM -0500, gslink wrote: > It appears that a check needs to be made in ps.c. The method > PSDRV_WriteSetFont passes the parameter size. In some early Win 95 > versions there was a bug that required that parameter to be negative and > some early windows programs m

Re: LOCAL: Not enough space in GDI heap

2004-02-09 Thread Huw D M Davies
On Mon, Feb 09, 2004 at 05:03:40PM +0100, Fabian Cenedese wrote: > > I hacked some more and need an advice. I changed font.cpp: CreateFontIndirectW > a bit. Instead of always allocating a new gdi object it has a list of already > allocated font objects and first tests if there was already a font a

Re: Bug compatible?

2004-02-08 Thread Huw D M Davies
On Mon, Feb 09, 2004 at 09:00:45AM +1100, Troy Rollo wrote: > On Sat, 7 Feb 2004 00:51, Fabian Cenedese wrote: > > GetTextExtentPointA/W: > > TRACE("not bug compatible."); > > > > As funny as it is it doesn't say that much. Is this referring to a bug > > in Windows? > > Actually, it does say much.

Re: Bug compatible?

2004-02-06 Thread Huw D M Davies
On Fri, Feb 06, 2004 at 02:51:10PM +0100, Fabian Cenedese wrote: > Hi > > Looking for something else I found this in wine/objects/font.c: > > GetTextExtentPointA/W: > TRACE("not bug compatible."); > > As funny as it is it doesn't say that much. Is this referring to a bug > in Windows? And in wha

Re: /dlls/gdi/freetype.c breakage

2004-01-19 Thread Huw D M Davies
On Mon, Jan 19, 2004 at 11:08:09AM +0100, Gerald Pfeifer wrote: > The following patch to dlls/gdi/freetype.c > > revision 1.52 > date: 2004/01/18 23:35:13; author: julliard; state: Exp; lines: +3 -4 > Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts > driver function i

Re: Printing bugfixes

2004-01-02 Thread Huw D M Davies
On Fri, Jan 02, 2004 at 02:47:04PM +, Mike Hearn wrote: > Or that this line: > sprintf(buf,"%s,WINEPS,LPR:%s",name,devname); > should be > sprintf(buf,"%s,WINEPS,%s",devname,devname); Yes like that, but you'll then have to add the LPR: bit to devname for the printcap and CUPS cases before th

Re: Printing bugfixes

2004-01-02 Thread Huw D M Davies
On Thu, Jan 01, 2004 at 08:23:20PM +, Mike Hearn wrote: > ChangeLog: > - Write out default printer name in the order used by WinME > - Support PRINTER_ENUM_DEFAULT > - Add FIXME for enumerating print providers > > I'd appreciate somebody with a CUPs and lpr setup ensuring the order > change do

Re: Default printer and patch management

2003-11-27 Thread Huw D M Davies
On Thu, Nov 27, 2003 at 09:37:16PM +, Mike Hearn wrote: > Hi, I've got a couple of questions tonight: > > 1) Currently the default printer is read from win.ini - setting this is > annoying and doesn't work out of the box. I think it'd make more sense > to have it also in the wine configuration

Re: wineps: fix a few HeapReAlloc()s

2003-11-20 Thread Huw D M Davies
On Thu, Nov 20, 2003 at 03:33:48PM -0500, Dimitrie O. Paun wrote: > Huw, > I didn't dig deep enough to see if glyphList/->glyph_sent > can't be NULL at that point, but it wasn't obvious to me > that they can't. You know this part a lot better than myself, > can you please check that I'm not adding

Re: Can I turn off freetype at runtime

2003-11-17 Thread Huw D M Davies
On Mon, Nov 17, 2003 at 09:14:51PM +0100, Lionel Ulmer wrote: > On Mon, Nov 17, 2003 at 11:34:40AM -0800, Bill Medland wrote: > > Is it possible to turn off the freetype use at runtime, e.g. by changing > > something in the config file? > > >From the sample config file : > > ; Use the Render ext

Re: listbox: ownerdraw fix

2003-11-17 Thread Huw D M Davies
On Mon, Nov 17, 2003 at 10:33:33AM -0500, Dimitrie O. Paun wrote: > On November 17, 2003 10:16 am, Huw D M Davies wrote: > > +if (LISTBOX_GetItemRect( descr, index, &rect ) == 1) > > OK, I very sorry to nick pick so much, but this test is not > only strange in C, but i

Re: listbox: ownerdraw fix

2003-11-17 Thread Huw D M Davies
On Mon, Nov 17, 2003 at 09:59:20AM -0500, Dimitrie O. Paun wrote: > Why not simply invalidate rect always, even when not in owner draw? Works for me. Aric Stewart <[EMAIL PROTECTED]> invalidate items on setselection. -- Huw Davies [EMAIL PROTECTED] Index: controls/listbox.c =

Re: Another symbol font fix

2003-10-30 Thread Huw D M Davies
On Wed, Oct 29, 2003 at 08:23:16PM +0100, Rein Klazes wrote: > Hi, > > There are a couple of non-MS TT fonts on my system that only display > rectangles in win98's charmap.exe. Wine recognize these to have a SYMBOL > character set but Windows (win2k) does not. So libfreetype returning a > characte

Re: [Rebar] Don't store band text if "" is passed into SetBandInfo

2003-10-21 Thread Huw D M Davies
On Tue, Oct 21, 2003 at 07:24:31PM +0100, Robert Shearman wrote: > Hi, > > This makes IE look a bit neater. > > Rob > > Changelog: > - Don't store band text if "" is passed into SetBandInfo > @@ -3447,8 +3450,11 @@ > } > if (lprbbi->lpText) { > INT len = lstrlenW (lprbbi->

Re: Render strings longer than 128 characters as individual chars

2003-10-08 Thread Huw D M Davies
On Tue, Oct 07, 2003 at 01:03:08PM -0400, [EMAIL PROTECTED] wrote: > > > > (See attached file: patch_xrender_long_string.txt) This is most likely due to a buggy version of libxrender which Keith fixed with the attached patch to the XFree86 cvs. I'd suggest upgrading to a newer version of the

Re: text edit box not painting text ( on form startup )

2003-09-19 Thread Huw D M Davies
On Thu, Sep 18, 2003 at 08:41:19PM -0700, Doug Herbert wrote: > ( I have posted a similiar question in wine-users, > don't flame me for doing so, just thinking about this > some more, perhaps it may be more a developer question > ) > > > Ok, I have a windows app, that runs under wine fine - > not

Re: Configuration parameters

2003-09-17 Thread Huw D M Davies
On Wed, Sep 17, 2003 at 08:34:59AM -0400, Dimitrie O. Paun wrote: > On September 17, 2003 08:25 am, Huw D M Davies wrote: > > > * Spooler - isn't CUPS meant to take care of that? > > > > It does if the system has cups. It's still needed for non-cups > >

Re: Configuration parameters

2003-09-17 Thread Huw D M Davies
On Wed, Sep 17, 2003 at 12:40:20PM +0100, Mike Hearn wrote: > Cool! > > Just a few things - there are some settings marked as being for winecfg > that I don't think we really should have there. In particular: > > * Fonts/fontdirs - after Huw merges his crossover patches these should > become auto

Re: Using fontconfig

2003-09-07 Thread Huw D M Davies
On Sun, Sep 07, 2003 at 02:51:39PM +0100, Mike Hearn wrote: > Hi to anybody who knows about fonts, > > It'd be nice to use fontconfig in future to locate font installation > paths. There is a simple API: > > FcStrList FcConfigGetFontDirs (FcConfig *config); > > which should let us use a small

<    1   2