Commit Graph

45 Commits

Author SHA1 Message Date
Dmitry Timoshkov e41c0acc0c gdi: If there is no space for strings GetOutlineTextMetricsA should not indicate that they present. 2006-09-20 20:03:18 +02:00
Andrew Talbot 7ee2f77158 gdi: Cast-qual warnings fix. 2006-09-14 11:39:38 +02:00
Michael Stefaniuc 757ee19ca1 janitorial: Removed the rest of the redundant NULL checks before HeapFree. 2006-08-10 10:57:33 +02:00
Alexandre Julliard 0e5f29ba92 gdi: Fixed buffer overflow in GetCharABCWidthsI. 2006-08-01 17:52:48 +02:00
Dan Hipschman f904723813 gdi32: Implement GetTextExtentPoint in terms of GetTextExtentExPoint
(not vice versa) for efficiency (required adding the Ex functionality
to drivers).
2006-07-12 13:34:36 +02:00
qingdoa daoo 9de7c3ae78 gdi: Don't treat a NULL rect as an empty rect in ExtTextOutW. 2006-06-06 11:47:19 +02:00
qingdoa daoo f77a28ee91 gdi: Get correct horizontal spacing value in the presence of ETO_PDY flag. 2006-05-25 11:00:45 +02:00
Mike McCormack d20c6cf8ca Fixed more boolean comparisons against TRUE. 2006-05-24 14:38:20 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
qingdoa daoo 4d7655a84e gdi: Duplicate extent value for the second byte of a DBCS char. 2006-05-15 16:03:56 +02:00
Louis. Lenders ad2b0a0fd7 gdi32: Add stub for GetCharWidthI and GetFontUnicodeRanges. 2006-05-09 12:39:58 +02:00
qingdoa daoo 1440eb5a35 gdi: A-to-W conversion should be font-independent. 2006-05-08 14:46:42 +02:00
Troy Rollo 73c7420c5a gdi: Fix GetTextExentExPointW to return values consistent with GetTextExtentPointW. 2006-05-05 21:46:11 +02:00
Jeff Latimer 07767bfd28 gdi: Added implementation of GetCharABCWidthsI. 2006-04-19 20:04:25 +02:00
Peter Oberndorfer 1ed3382438 gdi: Do not convert string paramter when rendering glyph indexes. 2006-04-12 11:16:42 +02:00
Peter Oberndorfer e1f74ad5c7 gdi: Write out glyph count correctly in GetCharacterPlacementA. 2006-04-12 11:16:30 +02:00
Hans Leidekker c4f4b01b05 gdi32: GetCharABCWidthsW should not crash on a NULL handle. 2006-04-10 15:56:43 +02:00
Hans Leidekker f8125a98d8 gdi: better implementation for GetCharABCWidthsFloat{A,W}. 2006-01-16 20:38:17 +01:00
Huw Davies d2c60e53de gdi: If the last param of GetKerningPairs is NULL then return the
number of pairs.
2006-01-12 11:54:20 +01:00
Louis Lenders ca1c26b9d3 gdi: Added stub for AddFontMemResourceEx. 2005-12-06 11:32:41 +01:00
Vincent Béron 3a4751209f Correct some allocated buffer lengths while converting to Unicode. 2005-11-08 12:55:40 +00:00
Dmitry Timoshkov e41ddd052a First draft of ExtTextOut on an open path. 2005-11-07 16:40:20 +00:00
Markus Amsler 79e3a1be70 Improve c2man Documented-Total count. 2005-11-05 10:45:02 +00:00
Phil Krylov 30d6d5dc92 Fixed SetTextAlign(), SetBkMode(), SetROP2(), SetPolyFillMode(), and
SetStretchBltMode() to assume that the corresponding DC driver
functions return only a BOOL success flag, and therefore a proper
return value should be generated by the main function. Fixed
EMFDRV_StretchDIBits() to return a proper value (like
MFDRV_StretchDIBits already does). Added comments about other cases of
improper return values.
2005-10-27 18:28:43 +00:00
Huw Davies 90020c953a Add a Wine specific flag to GetRasterizeCaps that reports whether
freetype's patented hinter is enabled.  This will be used by winex11
to check whether it should honour the gasp table settings.
2005-10-06 12:28:11 +00:00
Dmitry Timoshkov cc748043cd Draw underline and strikeout for ExtTextOut on an open path using
Polygon to more closely mimic what Windows does.
2005-09-28 10:14:45 +00:00
Huw Davies 2a75800c4a Release the dc before drawing the underline and strikeout lines. 2005-09-21 09:41:13 +00:00
Huw Davies c292f4861d Fix a problem with handling ETO_GLPYH_INDEX. Spotted by Rob
Shearman.
2005-09-19 14:36:32 +00:00
Huw Davies 95a2cead20 Fix return value of ExtTextOut in the case when count == 0. 2005-09-08 18:55:07 +00:00
Huw Davies 2014da26fc Have ExtTextOut call into the font linking mechanism.
GetCharWidth, GetCharABCWidths and GetTextExtentPoint should return
the widths of a linked font's glyphs.
2005-09-08 12:40:20 +00:00
Huw Davies 3433676fd7 Move a bunch of common code from the drivers into gdi. 2005-08-23 09:38:58 +00:00
Huw Davies 85cd13506d Simplify ExtTextOut a bit. Should be a nop. 2005-08-19 09:58:57 +00:00
Vikram Kumar 43bc613f77 Added stub for EnableEUDC. 2005-08-15 09:45:40 +00:00
Mike McCormack 98beaff2c5 Warning fixes for gcc 4.0. 2005-08-08 15:03:42 +00:00
Robert Shearman 0ceb6b6f6b Implement and test GdiGetCharDimensions. 2005-07-18 18:05:04 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
TANABE Hiroshi 6585373611 Added Multibyte character set support in GetGlyphOutlineA. 2005-02-22 19:37:18 +00:00
Alex Villacís Lasso 2eacfecd25 Implemented GetGlyphOutline16. 2005-02-21 20:43:59 +00:00
Vitaly Lipatov 0590343445 Add description for ExtTextOut (also include comments from Shachar
Shemesh) and missed constants ETO_NUMERICSLOCAL, ETO_NUMERICSLATIN,
ETO_PDY in wingdi.h.
2005-01-05 13:24:52 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Dmitry Timoshkov 2b98f3255f Fully initialize NEWTEXTMETRICEXW structure for bitmap fonts. 2004-12-21 14:45:38 +00:00
Hans Leidekker fe442b21f7 Fix signed/unsigned comparison warnings. 2004-09-08 01:23:57 +00:00
Mike McCormack 642180d3c9 Add a basic GDI LOGFONT test, fix a couple of failures. 2004-09-01 17:29:28 +00:00
Alexandre Julliard ebc6a2d9b6 Moved all files from the objects/ directory to dlls/gdi.
Merged text.c into font.c and dcvalues.c into dc.c.
2004-07-21 04:07:28 +00:00