Commit Graph

104 Commits

Author SHA1 Message Date
Dmitry Timoshkov df76fe6f0c gdi32: Perform the world transform separately from font scaling. 2008-06-24 12:21:42 +02:00
Dmitry Timoshkov 8a6628aea5 gdi32: Font scaling transform is performed separately. 2008-06-24 12:21:28 +02:00
Dmitry Timoshkov 85c16fc45b gdi32: Don't forget to update the glyph advance in the case of a custom transformation. 2008-06-24 12:21:16 +02:00
Dmitry Timoshkov 9675720510 gdi32: Initialize otmMacAscent, otmMacDescent, otmMacLineGap in outline text metrics. 2008-06-24 12:21:06 +02:00
Dmitry Timoshkov e378795970 gdi32: Perform font height scaling with higher precision. 2008-06-24 12:20:55 +02:00
Dmitry Timoshkov 41aad2dce2 gdi32: Extend the font substitution test, make it pass under Wine. 2008-06-23 12:53:22 +02:00
Lei Zhang 71ed7573aa gdi32: Check for regular fonts by style instead of style name. 2008-06-21 11:37:00 +02:00
Dmitry Timoshkov ecd5048ea7 gdi32: Use 0xffff as a default character as Vista does. 2008-06-18 15:21:49 +02:00
Zhangrong Huang a21b3f0abd gdi32: Add more Asian codepages to get default fallback fonts. 2008-06-09 19:09:29 +02:00
Alexandre Julliard 93cbb7a5db gdi32: Perform coordinate transformations using doubles instead of floats to avoid precision loss. 2008-05-22 17:43:01 +02:00
Dmitry Timoshkov a5d288f08c gdi32: Add more font substitution tests, make them pass under Wine. 2008-05-13 20:25:50 +02:00
Dan Hipschman c3537c4086 gdi32: Add font faces to families in a specific order. 2008-05-01 12:41:30 +02:00
Jeremy White f4625d1ae1 gdi32: Shift default height used in EnumStructs to the standard em size of 2048.
As pointed out by Dmitry Timoshkov.
2008-04-29 14:37:53 +02:00
Dmitry Timoshkov baded8789d gdi32: Map glyph to Symbol range only if the font supports symbol encoding. 2008-04-14 21:28:46 +02:00
Huw Davies a643337c26 gdi32: Don't overrun the current scanline while copying a glyph's bitmap. 2008-04-08 13:25:02 +02:00
Dmitry Timoshkov c5d07b7c22 gdi32: Fix lfWidth before caching the font to avoid duplicate entries in the cache. 2008-04-07 20:34:37 +02:00
Dmitry Timoshkov 1f35b6e62e gdi32: Fully initialize face->ntmFlags on font load. 2008-04-07 12:14:14 +02:00
Dmitry Timoshkov 90265ac586 gdi32: Add a font scaling test when lfHeight == 0 and lfWidth != 0, make it pass under Wine. 2008-04-04 11:03:42 +02:00
Mikołaj Zalewski 4094ff0256 gdi32: Fix GetGlyphIndices to select properly the invalid char glyph for TrueType fonts. 2008-04-02 12:36:42 +02:00
Austin English 45b944ed51 gdi32: Spelling fixes. 2008-03-25 19:58:31 +01:00
Huw Davies 4b6d284de6 gdi32: Ignore fonts with names that begin with a '.'. 2008-03-21 12:44:20 +01:00
Aric Stewart bdaa54e64f freetype: Fix a typo that prevented checking more than the first range in Range Format 2. 2008-03-19 11:23:22 +01:00
Francois Gouget 8d38b1d60b gdi32: Remove a trailing space in a Wine trace. 2008-03-19 11:21:19 +01:00
Aric Stewart 36ac341b55 gdi32: Add loading and processing of GSUB table vert/vrt2 functions for proper tategaki (vertical writing). 2008-03-13 12:06:02 +01:00
Huw Davies e0693a1813 gdi32: Factor out FreeType initialization into a separate function. 2008-03-12 18:14:27 +01:00
Aric Stewart 5c1229982a gdi32: Skip leading @ from FontFace when looking for font to load. 2008-03-11 15:30:45 +01:00
Huw Davies 0436a5d14a gdi32: Store the Windows path (if it's available) in the font registry entries. 2008-03-10 19:12:54 +01:00
Huw Davies 025d84e644 gdi32: Update both winnt and win9x font keys and factor out the cleanup code. 2008-03-10 11:23:19 +01:00
James Hawkins 26ad93947b janitorial: Remove links to any microsoft site. 2008-03-01 12:04:09 +01:00
Andrew Talbot a4e8f4dcdd gdi32: Assign to structs instead of using memcpy. 2008-02-28 10:50:57 +01:00
Aric Stewart a41e77448c gdi32: Japanese Windows had a default fallback Font SystemLink of Microsoft Sans Serif. Implement that for Japanese. 2008-02-19 14:56:22 +01:00
Alexandre Julliard 35c09c01b2 gdi32: Use a separate critical section for freetype locking instead of relying on the GDI lock. 2008-02-05 21:16:06 +01:00
Aric Stewart 1ce79f87dd gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov. 2008-02-05 12:19:50 +01:00
Dmitry Timoshkov 0acfe68864 gdi32: Actually perform the fractional scaling test, make it pass under Wine. 2008-01-21 11:39:20 +01:00
Sin-ta Hsiea e61abafbb5 gdi32: Fix Traditional Chinese font mapping to "PMingLiU", "MingLiU". 2008-01-16 20:09:49 +01:00
Dmitry Timoshkov ec4a46f93a gdi32: Allocate cache for face enumeration data only when necessary. 2008-01-16 12:16:52 +01:00
Dan Kegel 3ed880ff9d gdi32: Fix AddFontResource behavior with relative paths. 2008-01-15 14:35:14 +01:00
Dmitry Timoshkov 2fdaa56693 gdi32: Add a test for undocumented EnumFontFamiliesEx(NULL), make it pass under Wine. 2008-01-15 11:38:15 +01:00
Dmitry Timoshkov c7a6c1af0d gdi32: Initialize more fields in GetEnumStructs. 2008-01-14 13:11:48 +01:00
Dmitry Timoshkov d973271566 gdi32: Use public FS_xxxxxx defines. 2008-01-14 13:11:42 +01:00
Dmitry Timoshkov 4a8f9347bd gdi32: Simplify GetEnumStructs. 2008-01-11 12:23:14 +01:00
Dmitry Timoshkov f542511209 gdi32: Fix a GdiFont leak. 2008-01-11 12:22:44 +01:00
Dmitry Timoshkov 92a74a8271 gdi32: Fix the regression caused by the scaling font metrics patch. 2008-01-10 11:33:39 +01:00
Dmitry Timoshkov 535053b927 gdi32: Add support for scaling font metrics. 2008-01-08 17:05:35 +01:00
Andrew Talbot d0d4c74e85 gdi32: Remove unneeded casts. 2008-01-07 12:18:50 +01:00
Aric Stewart 3c9e7aba75 gdi32: Cache font enum info.
Cache the enum info so that repeated calls to EnumFontFamiles and such
does not have to repeatedly load the font file.
2007-12-13 14:30:40 +01:00
Hans Leidekker 0dc765809c gdi32: GetCharABCWidthsI does not require a scalable font. 2007-12-10 12:27:13 +01:00
Hans Leidekker 8487c2dd2a gdi32: Implement GetTextExtentExPointI. 2007-12-03 15:54:05 +01:00
Gerald Pfeifer 4e60df85d8 gdi32: Avoid compiler warning in WineEngGetGlyphOutline(). 2007-10-15 17:50:17 +02:00
Huw Davies bc2a4dbee0 gdi32: Try to load Wine's TrueType fonts from the build directory. 2007-10-15 11:28:31 +02:00