Re: [PATCH 2/7] gdi32/tests: Fixed broken bitmap font metrics test on CJK locales.

2012-10-18 Thread Qian Hong
Hello, On Fri, Oct 19, 2012 at 2:11 AM, Qian Hong wrote: > Including Arabic, Chinese, English, Dutch, Japanese, Russian > Forgot to say, we have no Korean system in our testbot vms, so I tested this patch locally with Korean Windows 8 preview. -- Regards, Qian Hong - Sent from Ubuntu http://

RE: gdi32/tests: Skip font metrics test on non-English systems

2011-01-23 Thread Greg Geldorp
From: Dmitry Timoshkov [mailto:dmi...@codeweavers.com] > Greg Geldorp wrote: > > > I can easily imagine fonts for non-Western scripts not adhering to the > > hard-coded metrics in the test, which is why I thought skipping them on > > non-English systems might be ok. Of course, if you have an idea

RE: gdi32/tests: Skip font metrics test on non-English systems

2011-01-20 Thread Greg Geldorp
From: Dmitry Timoshkov [mailto:dmi...@codeweavers.com] > Probably adding a separate set of data with FS_ARABIC for Small Fonts could > help (similar to FS_JISJAPAN ones). Excellent. I'll look into it. Greg.

Re: gdi32/tests: Skip font metrics test on non-English systems

2011-01-20 Thread Dmitry Timoshkov
Greg Geldorp wrote: > I can easily imagine fonts for non-Western scripts not adhering to the > hard-coded metrics in the test, which is why I thought skipping them on > non-English systems might be ok. Of course, if you have an idea how to > improve the test I'm all ears, after all the goal is to

RE: gdi32/tests: Skip font metrics test on non-English systems

2011-01-20 Thread Greg Geldorp
From: Dmitry Timoshkov > That test is supposed to pass at least on russian locale. On which locale > does the test fail for you? Arabic (http://test.winehq.org/data/98834637eb25caf986c9feae3eaa0b855cc19a26/xp_wtb -wxpproarsp3/gdi32:font.html). I can easily imagine fonts for non-Western scripts no

Re: gdi32/tests: Skip font metrics test on non-English systems

2011-01-20 Thread Dmitry Timoshkov
"Greg Geldorp" wrote: > --- > dlls/gdi32/tests/font.c |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) That test is supposed to pass at least on russian locale. On which locale does the test fail for you? -- Dmitry.

Re: Dmitry Timoshkov : gdi32: Add support for scaling font metrics.

2008-01-09 Thread Alistair Leslie-Hughes
> There's already a bug [1] filed for it and Dmitry is in the process of > fixing it. You should give his latest patch [2] a try. This patch does fix the issue. Thanks for point it out. Best Regards Alistair Leslie-Hughes

Re: Dmitry Timoshkov : gdi32: Add support for scaling font metrics.

2008-01-09 Thread Lei Zhang
> URL: > > http://source.winehq.org/git/wine.git/?a=commit;h=535053b92769ce5f020bb6c5516385cf69da5bf4 > > > > Author: Dmitry Timoshkov <[EMAIL PROTECTED]> > > Date: Tue Jan 8 23:02:09 2008 +0800 > > > > gdi32: Add support for scaling font metrics. &g

Re: Dmitry Timoshkov : gdi32: Add support for scaling font metrics.

2008-01-09 Thread Alistair Leslie-Hughes
f4 > > Author: Dmitry Timoshkov <[EMAIL PROTECTED]> > Date: Tue Jan 8 23:02:09 2008 +0800 > > gdi32: Add support for scaling font metrics. This commit cause my application to fail on loading. Backtrace: 1 0x601bb8ac (0x0219c098) 2 0x672be1cd UploadGlyph+0x33d(physDev=, glyp

Re: gdi32: Fix the regression caused by the scaling font metrics patch

2008-01-09 Thread Alexandre Julliard
Dmitry Timoshkov <[EMAIL PROTECTED]> writes: > Changelog: > gdi32: Fix the regression caused by the scaling font metrics patch. This breaks the tests: ../../../tools/runtest -q -P wine -M riched20.dll -T ../../.. -p riched20_test.exe.so editor.c && touch editor.ok edito

Font metrics

2006-08-08 Thread Jeff L
People, I am working on ScriptStringXtoCP etc in usp10.  In setting up the tests for this I notice that ABC widths returned ScriptPlace (GetCharABCWidthsI) is not the same as Windows does.  Have tried an couple of fonts and the results are the subtly different.  Before I get too carried away wi

Re: Add a test for bitmap font metrics to ensure that they match the Windows ones

2006-03-17 Thread Huw Davies
> > Looks like it's a sfnt2fnt bug and not a fontforge or FreeType problem. > > This patch tests bitmap font metrics to ensure that they match the Windows > ones. The patch discovers a bug in sfnt2fnt which causes Courier font to > have wrong ascent and descent values (13/0 inste

Re: Add a test for bitmap font metrics to ensure that they match the Windows ones

2006-03-17 Thread Dmitry Timoshkov
"Huw Davies" <[EMAIL PROTECTED]> wrote: Looks like it's a sfnt2fnt bug and not a fontforge or FreeType problem. This patch tests bitmap font metrics to ensure that they match the Windows ones. The patch discovers a bug in sfnt2fnt which causes Courier font to have wro

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

2004-09-01 Thread Dmitry Timoshkov
"Huw D M Davies" <[EMAIL PROTECTED]> wrote: > Try setting lfWidth to 0, that should then scale the font > isotropically - setting a non-zero lfWidth can result in different > scaling factors in the x and y directions. So for example if you > leave width set to the normal width and only multiply u

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

2004-09-01 Thread Huw D M Davies
> > > a test case for it. No, GDI *does not* scale bitmap font metrics. > > > > Well it does do integer scaling. So if you request System (whose > > normal size is 16) with 32 <= lfHeight < 48 you'll get a double sized > > font with all the metrics

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

2004-09-01 Thread Dmitry Timoshkov
"Huw D M Davies" <[EMAIL PROTECTED]> wrote: > > 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. > &

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.

Re: font metrics rebuilding

2003-09-23 Thread Nerijus Baliunas
so? DISPLAY=localhost:10.0 on remote pc. Yes, it is so. I never used ssh X11Forwarding and thought it was disabled by default, but it wasn't. > How to disable font metrics rebuilding? I don't think fonts > are needed for console apps. "GraphicsDriver" = "ttydrv" helped. Regards, Nerijus

font metrics rebuilding

2003-09-23 Thread Nerijus Baliunas
Hello, I ssh to remote machine, which is not running X, and run console win32 application on it. Now 2 questions: It seems remote wine uses my local fonts when rebuilding, could it be so? DISPLAY=localhost:10.0 on remote pc. How to disable font metrics rebuilding? I don't think fonts are n