Граф коммитов

1991 Коммитов

Автор SHA1 Сообщение Дата
John Daggett eeeab33572 Bug 549816. Adjust meaning of needsBold flag. r=bas 2010-03-12 13:26:43 +09:00
Bas Schouten 8013796f13 Bug 549816. Fix synthetic bolding with dwrite. r=jkew,jdaggett 2010-03-12 13:25:35 +09:00
James Cook 3189de370c Bug 524919 - Qt build of Firefox or Fennec does not respect my screen's DPI. r=mark.finkle, sr=pavlov 2010-03-10 16:36:47 +02:00
Brad Lassey 4db9a00295 follow up from bug 534136, fix build bustage for WinMo debug r=jonas 2010-03-10 15:47:45 -05:00
Jonathan Kew c155951fd9 bug 502906 - part 2 - split out gfxCoreTextShaper and gfxMacFont. r=jdaggett
--HG--
rename : gfx/thebes/src/gfxCoreTextFonts.cpp => gfx/thebes/src/gfxCoreTextShaper.cpp
rename : gfx/thebes/public/gfxCoreTextFonts.h => gfx/thebes/src/gfxCoreTextShaper.h
2010-03-10 12:46:41 +00:00
Jonathan Kew ea9c099682 bug 548863 - eliminate warning about CreateFontInstance on mobile. r=jdaggett 2010-03-10 12:46:36 +00:00
Steven Michaud bac832f143 Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame 2010-03-09 10:37:56 -06:00
Oleg Romashin 8f603042e2 Bug 550877 - Crash happen on attempt to delete bad created gfxShareImageSurface. r=dougt. 2010-03-08 19:28:54 +02:00
Jonas Sicking ff49d3e414 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking b2f8c249b3 Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Masayuki Nakano 6d0e02fedb Bug 550772 - fallback pref font handling for CJK fonts is broken r=jdaggett 2010-03-08 18:14:56 +09:00
Walter Meinl 002f637fff Bug 548978: [OS/2] Fix build bustage in gfx/src/thebes/gfxOS2Platform.cpp r=jfkthame 2010-03-06 12:56:30 -05:00
Oleg Romashin 4dbb6dc7a8 Bug 550468 - Fix support for Pango font engine on Qt platform. r=karlt. 2010-03-06 15:29:55 +02:00
Mike Kristoffersen d60cbba316 Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Bas Schouten fdff34dabc Bug 549666: Native rects should be pixel aligned. r=vlad 2010-03-04 20:30:16 +01:00
Brad Lassey 40dfe937a9 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Simon Montagu 95daee0af0 Add Tibetan to font selection UI. Bug 441110, r=emk 2010-03-04 10:55:53 +02:00
Jonathan Kew 93c76e7c0b Bug 549668 - check that mozilla.widget.render-mode pref value is within valid range. r=vlad 2010-03-03 09:27:08 +00:00
Bas Schouten bd7fd1996b Bug 549268: Ensure we pass a unique fontFileReferenceKey to DWrite for downloadable fonts. r=jdaggett 2010-03-03 07:57:47 +01:00
Bas Schouten 459306e126 Bug 549270: Read the font substitutions from the registry and use them when looking up font names. r=jdaggett 2010-03-03 07:57:43 +01:00
Ginn Chen 1c67133418 Bug 547657 gfxSharedImageSurface.cpp failed to compile on Solaris r=jrmuizel 2010-03-02 13:57:21 +08:00
Bas Schouten 7b0d786a8f Bug 549171: Check if there's support for sufficient D3D hardware for the D2D backend to work. r=jrmuizel 2010-03-02 02:04:27 +01:00
John Daggett a2736cbe44 Bug 548983. Override GetStandardFamilyName for the DWrite font list. r=bas 2010-02-28 16:27:22 +09:00
Neil Rashbrook 49c010a84c Bug 549019 Don't try to build Direct2D with older SDKs (based on patch by bas) r=jrmuizel 2010-02-27 16:05:54 +00:00
Jonathan Kew 963100b19c Bug 548177 - remove ATSUI text rendering code. r=jdaggett 2010-02-26 06:20:38 -08:00
Bas Schouten 02f48f1118 Bug 527707: Add Direct2D and DirectWrite backend integration to thebes and widget. Preffed off by default r=jrmuizel r=jmathies r=jfkthame 2010-02-25 22:36:07 -08:00
Jonathan Kew 9d8c1e2eab Bug 548608 - update SupportsLangGroup in Windows font list code for nsIAtom-based language codes. r=roc 2010-02-25 15:02:54 -08:00
Jonathan Kew 90f31b1c0b Bug 548545 - don't try to get an atom for a NULL string. r=roc 2010-02-25 15:02:31 -08:00
Jonathan Kew e547a598c7 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew 5be4457ec4 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
John Daggett f543afbd5a Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew 2010-02-24 16:18:49 +09:00
Mark Banner f39e129e6b Possible bustage fix for shared,non-libxul builds following Bug 544250. r=bustage fix 2010-02-20 09:42:55 +00:00
Oleg Romashin 4b8146c17f Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar. 2010-02-19 19:46:54 -08:00
Jonathan Kew 69a1ad2a76 Bug 543502 followup: replace non-critical assertion in GDIFontList with optional logging. r=jdaggett 2010-02-18 11:52:44 +00:00
Jonathan Kew ef18f2ca7e Bug 545989 - don't throw an exception if unable to allocate storage for gfxTextRun creation. r=roc 2010-02-18 11:52:34 +00:00
John Daggett ff2b6429f1 Bug 545317. Trim out redundant font cache handling code. r=jkew 2010-02-18 12:31:20 +09:00
Doug Turner 2268fbba77 removing gfxSharedImageSurface files. part of backout of 544250 2010-02-16 11:03:17 -08:00
Doug Turner f123cf475c comparing with ssh://hg.mozilla.org/mozilla-central
searching for changes
changeset:   38150:c823c17d12d2
user:        Doug Turner <dougt@dougt.org>
date:        Tue Feb 16 10:49:57 2010 -0800
summary:     backing out 544250
2010-02-16 10:52:40 -08:00
Oleg Romashin 69a32e5a9b Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:32:35 -08:00
Oleg Romashin 9beecceb88 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:15:52 -08:00
Jonathan Kew 677a56edb2 Bug 541924 followup - use the predefined nsStringHashSet class instead of nsTHashtable<nsStringHashKey>. r=jdaggett 2010-02-11 07:00:07 -05:00
Jonathan Kew 94a0c2d526 Bug 543502: Protect against out-of-range array read in CheckForSimpleFamily; remove bad families with no faces from the font list. r=jdaggett 2010-02-11 06:59:47 -05:00
Serge Gautherie 5078ff94e0 Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor 41a6156464 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Jonathan Kew c72a3316cc Bug 540702: fix incorrect char-to-glyph array indexing. r=jdaggett 2010-01-30 13:16:35 +00:00
Jonathan Kew 81df7337ca Bug 426978: issue warning rather than assertion for font change within a character cluster. r=roc 2010-01-30 13:16:07 +00:00
John Daggett cc720f03d5 Bug 542162 - Use fullname and Postscript name tables for src local lookups. r=jkew 2010-01-29 10:41:25 +09:00
Jonathan Kew aaf4cdfdcc Bug 541924: fix regression in handling bad-underline fonts blacklist on Windows. r=jdaggett 2010-01-28 06:56:16 +00:00
Jonathan Kew 5566f5e447 Bug 542453: use nothrow and null-checking for potentially large allocations. r=roc 2010-01-27 22:23:57 +00:00
Jonathan Kew f78744482f Bug 541277: correct boundary handling in character/glyph clump processing. r=roc 2010-01-27 07:46:31 +00:00
Jacek Caban a2f1192ff6 Bug 529734 - Firefox 3.6b3 Crash [@ CMValidateProfile ]; mingw fix v1.1.
r=neil.
2010-01-24 14:58:31 +01:00
Jesse Ruderman 7600b78fd8 Add crashtests 2010-01-21 11:07:51 -08:00
Steffen Imhof e4a6e3bccb Bug 516973 - Mismatch between Cairo and Thebes surface types. r=jmuizelaar 2010-01-16 18:04:52 +01:00
Jonathan Kew fc0692230d Bug 502906 part 1: eliminate backend-specific gfxFontGroup subclasses on Mac OS X. r=jdaggett 2009-10-07 16:26:58 +01:00
Jacek Caban a4dab0be7d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Jonathan Kew 36fa71d23f Bug 538730: fix Windows synthetic bolding regression from bug 493280. r=jdaggett 2010-01-13 10:42:25 +00:00
Doug Turner e431a9a6a0 [Bug 539037] Qt bustage in gfxFontEntry. r=vlad. qt only 2010-01-11 12:31:43 -08:00
Jesse Ruderman 65c41762cd Add crashtests 2010-01-10 19:50:41 -08:00
Jonathan Kew 95c6dcf0ac Bug 538628. Initialize font family field for each font face. r=jdaggett 2010-01-09 12:52:32 +09:00
Jonathan Kew 6987a52d38 Bug 493280: restructure Windows font management based on cross-platform font-list classes. r=jdaggett sr=roc 2009-10-07 15:13:40 +01:00
Jonathan Kew b414e4053a Bug 530614: accept fonts (e.g. Arial Unicode MS) despite incorrect cmap language tag. r=jdaggett 2010-01-07 13:53:31 +00:00
Jonathan Kew f61db27a81 Bug 538065: avoid possible out-of-bounds array index in gfxFont::SanitizeGlyphRuns(). r=roc 2010-01-07 13:53:25 +00:00
Josh Soref b5cc200461 Bug 529734 - Work around buggy os crash [@ CMValidateProfile] by adding exception handling, r=neil 2010-01-05 18:39:56 -05:00
John Daggett 5236d58f26 Bug 561304. Use GDI shaper by default on XP and handle bitmap fonts better. r=jkew 2010-06-25 21:43:10 +09:00
Jacek Caban 1d901edc47 Bug 569608 - gfxTextRunWordCache.cpp compilation failure on mingw-w64 due to pointer to long cast loosing precision r=vladimir
--HG--
extra : rebase_source : 3142d17d9c28beb1a2034a555b2ffe4a95e71f9c
2010-06-25 14:10:54 +02:00
Jacek Caban 035c29f21e Bug 449292 - gfxHarfBuzzShaper.cpp mingw fix. r=jfkthame
--HG--
extra : rebase_source : 4a9dae1e9123206f89ff6d6197a32752077570ee
2010-06-25 14:06:26 +02:00
Stuart Parmenter c953f6345c bug 470440. Disable hinting on mobile to avoid some text spacing issues. r=karlt 2009-12-30 00:13:38 -08:00
chithraprabhap@gmail.com 542b66f7fe Bug 536938 - Too many lines of messages about system font info getting displayed in console when starting xulrunner from console. r=mfinkle 2009-12-29 10:41:57 +01:00
Jonathan Kew 0ef0c8f49d Bug 534352. Accept fonts with redundant cmap sentinel value. r=jdaggett 2009-12-22 09:47:18 +00:00
Metal Sonic bb9fc4f136 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Jonathan Kew 164b142e9b Bug 534353: Copy the correct string data to the EOT header name fields. r=jdaggett 2009-12-20 17:52:57 +00:00
Jonathan Kew c1f6e323d3 Bug 534919: do not inherit font from ZWNJ to adjacent character. r=roc 2009-12-16 15:47:12 +00:00
Benjamin Smedberg bfa43ef17d Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Jeff Wang 4bf1de5718 64-bit Mac OS X bustage fix for font code. b=532346 r=jkew r=joshmoz 2009-12-15 18:16:12 -05:00
Christopher A. Aillon add24e08b7 Bug 435313 - "Printing on linux should set SIMPLIFY_OPERATORS | DISABLE_SNAPPING" [r=vlad] 2009-12-15 17:04:22 -05:00
Jim Mathies 511810cb85 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Robert O'Callahan 504b6aef00 Bug 534426. Use our zlib.h, not system zlib.h. r=jfkthame 2009-12-16 09:09:00 +13:00
Ted Mielczarek c40ac21a45 bug 530093 - allow building with VC10. gfx changes. r=jdaggett 2009-11-23 10:20:21 -05:00
Daniel Holbert f843190696 Bug 534150: Make sure to initialize local variable "matchFE" in FindFontForStyle, and remove unneeded null-check. r=jdaggett 2009-12-12 22:27:30 -08:00
L. David Baron 52d8b86688 Reset mUnderlineOffset on all platforms when user font set generation is bumped. (Bug 523717) r=jdaggett 2009-12-11 08:13:20 -08:00
Jonathan Kew 7960c3f713 Bug 532349: Support new cmap table ID used in Chinese fonts on OS X 10.6. r=jdaggett 2009-12-10 12:18:23 -08:00
Jonathan Kew fff21b7215 Bug 532346: Work around ATSUI rendering failure with Apple LiGothic font on 10.6. r=roc 2009-12-10 12:18:14 -08:00
Jonathan Kew eff66c117e Bug 519445: lazy enumeration of font faces on Mac OS X to improve startup. r=jdaggett 2009-10-13 00:43:43 +01:00
Jesse Ruderman a1790abb65 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Vladimir Vukicevic 8ce57561e1 b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart 2009-12-06 16:07:58 -08:00
Mark Finkle 75d73b8823 Bug 531289: Firefox doesn't obey system dpi settings anymore [r=roc a=blocking] 2009-11-30 16:44:55 -05:00
Karl Tomlinson c36e484aa5 b=527980 don't use tree-cairo preprocessor symbols to test for fontconfig r=bsmedberg 2009-11-27 13:21:31 +13:00
Mark Finkle 2266f384cd Bug 530931: Maemo shouldn't use the true DPI [r=roc] 2009-11-25 17:27:05 -05:00
Jonathan Kew db2e1f152f bug 527555: ensure gfxCoreTextFont destructor doesn't try to delete uninitialized Cairo pointers or null CF references. r=roc 2009-11-10 10:00:50 +00:00
Takuro Ashie 841afe85bb Bug 525845 - Some characters in WOFF failed to work on Linux and Solaris. r=karlt 2009-11-05 23:12:36 -08:00
Karl Tomlinson e68d9d6bf5 Test for bug 509244 2009-11-02 16:35:20 +13:00
Karl Tomlinson 92b5033850 Test for bug 509244 2009-11-02 16:21:24 +13:00
Takuro Ashie 3327ced111 Bug 505284 - bottom of fonts cut off in dialogs. r=karlt 2009-10-30 16:13:41 -07:00
Bas Schouten 0699bea55e Bug 524462. Fix startup crash in pref fonts with funky cmaps. r=jdaggett 2009-10-30 16:41:13 -06:00
Doug Turner a2a7ef6b23 Expose device type in user agent. r=vlad 2009-10-24 23:09:46 -07:00
Daniel Holbert e1d1529222 Disable one of Bug 385228's crashtests, since it's apparently not WORKSFORME after all. (reopened bug) 2009-10-19 17:26:04 -07:00
Jesse Ruderman 9e587aee06 Add more crashtests 2009-10-15 14:22:11 -07:00
Jesse Ruderman 342d139dab Fix likely typo in this crashtest file 2009-10-13 12:30:46 -07:00
Mark Finkle 05ae567782 Bug 520341: Implement a way to detect a pre-Fremantle Nokia Maemo tablet, r=roc 2009-10-04 21:31:26 -04:00
Jeff Muizelaar 5e01f1a55c Bug 514932. Fix color profile retrieval on OS X 10.6. r=joshmoz
CMGetDeviceProfile(cmDisplayDeviceClass,
		cmDefaultDeviceID,
		cmDefaultProfileID,
		&device);
returns cmDeviceNotRegistered on 10.6 so we need to use a different method
to get the profile.
2009-10-03 14:33:55 -04:00
Jonathan Kew 40a8eb7714 Bug 519149. Get properly localized font family names on Mac OS X. r=jdaggett 2009-09-28 11:25:22 +01:00
Masatoshi Kimura caca11adda bug 552460 - part 3 - implement Variation Sequence support in Windows font backend. r=jfkthame 2010-06-01 14:42:37 +01:00
Robert O'Callahan 0db3542a1e Bug 568189. Create gfxASurface::CreateSimilarSurface API. r=jrmuizel 2010-06-01 11:37:44 +12:00
John Daggett e3884f253a Bug 504698. Enable Cleartype content rendering by default on Win XP. r=jkew 2010-05-27 14:05:30 +09:00
John Daggett c120ea19eb Bug 517045. Remove code causing startup regression in Mac font initialization. r=jkew 2009-09-29 09:38:59 +09:00
Mark Finkle e76ee379f1 Bug 518378: buttons and list boxes in content document are unreasonably large, r=dbaron 2009-09-26 20:21:32 -04:00
Tobias Hunger da84329e49 Bug 518585 - Fix the cairo Qt backend to build. r=pavlov 2009-09-26 17:51:08 +02:00
Mark Finkle 4ca6e6f759 Bug 518281: DPI on n810 is incorrect (part 2), r=stuart 2009-09-23 02:31:38 -04:00
Mark Finkle 6216d6c1e7 Bug 449283: DPI on n810 is incorrect, r=roc 2009-09-22 08:45:56 -04:00
Phil Ringnalda fceecee8a4 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Peter Weilbacher 1cf5afd816 [OS/2] Bug 511361 - fix font name conversion before calling FC to match the font 2009-09-18 23:33:03 +02:00
Jonathan Kew 9456708e63 Bug 517283: fix gfxCoreTextFontGroup and bidi reftests to resolve failures with the Core Text backend, r=roc 2009-09-18 09:20:01 +01:00
John Daggett b1a7ff6439 Bug 505386. Compensate for unpadded font tables when renaming fonts. r=jkew. 2009-09-18 11:39:22 +09:00
John Daggett f8a9208a66 Bug 516709. Do better validation of cmap tables when loading fonts. r=jkew. 2009-09-18 09:45:29 +09:00
Jonathan Kew 6189a72050 Bug 507970, part 3: add @font-face format hint for woff fonts, r=jdaggett
--HG--
extra : rebase_source : 44bbd8455cffbd21d77fafdec21e1a80792cd6d7
2009-09-17 12:03:12 +01:00
Jonathan Kew 217665fa17 Bug 507970, part 2: implement support for downloadable WOFF fonts, r=jdaggett
--HG--
extra : rebase_source : e68c49d2dbea815e453f9ab52ba89bd9127d3f51
2009-08-30 14:55:24 +01:00
Reed Loden c2c0f3ca4a Bug 516971 - "Remove lcms from the tree" [r=bholley r=gerv] 2009-09-17 01:17:19 -05:00
L. David Baron d69425fc7b Fix the one mochitest that's exported to _tests in a disable-tests build. (Bug 515993) r=ted 2009-09-16 12:01:18 -07:00
Takuro Ashie d3901db074 b=513192; Crash [@nsAString_internal::BeginReading(nsReadingIterator<unsigned short>&)]; r=jfkthame 2009-09-10 13:57:27 -07:00
Vladimir Vukicevic 48364a2223 b=514968; optimize FT2 textrun creation with glyph cache; r=jfkthame 2009-09-10 13:52:40 -07:00
Chris Jones 5ef33c9cfd bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad 2009-09-09 20:22:03 -05:00
Takuro Ashie 109214e7cf Bug 490267 - implement pref font and system font fallback for gfxFT2Fonts. r=jtd,jfkthame sr=roc 2009-09-09 16:35:08 +01:00
Michael Moy 4e150f1007 Bug 421761 - "Use multiplication instead of division for gfxRGBA (gfxColor.h)" [r=joe r=jmuizelaar] 2009-09-08 15:14:39 -05:00
Mook 0313c877d9 use PRUptrdiff, not unsigned long, for PtrBits in gfxFont [r=vlad] 2009-09-04 21:46:09 -05:00
Benjamin Smedberg 621a26034c CLOSED TREE spelling fixes to kick new builds. 2009-09-03 11:14:54 -04:00
Sylvain Pasche ff37120ad8 Bug 513439. Parse layout.css.devPixelsPerCSSPx as a string float. r=roc
--HG--
extra : rebase_source : 28d39726e3714d2614f5f010a8e6f914ddecaf75
2009-08-29 12:19:36 +02:00
Peter Weilbacher 3d367685a5 [OS/2] Bug 490561 - update GetMetrics 2009-08-29 00:58:25 +03:00
Jesse Ruderman 8a9fb4d41e Add more crashtests 2009-08-27 21:11:40 -07:00
Benjamin Smedberg c4ea86fa0e Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
John Daggett b69a42bd20 Bug 499621. Follow-up fixup to synthetic bolding on Windows. r=jkew. 2009-08-26 01:59:20 +09:00
Benjamin Smedberg 28fb767bd1 Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Mats Palmgren e31ba461b2 Re-enable crash test for bug 441360 on gtk2 platforms. b=455463 r=me 2009-08-22 19:15:25 +02:00
Peter Weilbacher e580427ae8 [OS/2] Bug 509317 - enable general emboldening of fonts and stop forcing antialiasing in that case 2009-08-19 09:47:09 +02:00
Craig Topper 75e677e9ad Bug 467948: Fix some "deprecated conversion from string constant" compiler warnings", round 2. r=dbaron 2009-08-18 08:48:32 -07:00
Takuro Ashie 7e63733744 fix Qt and GTK bustage in gfxFT2Fonts from bug 493280, r=jfkthame 2009-08-18 09:26:24 +01:00
Masatoshi Kimura e8f3236dc7 fix wchar_t incompatibility from bug 493280, r=jfkthame 2009-08-18 09:26:20 +01:00
Jonathan Kew 4018105446 further winmo (gfxFT2Fonts) bustage fix from bug 493280 2009-08-16 18:12:12 +01:00
Jonathan Kew cc43c57a98 fix for winmo bustage from bug 493280 - use accessor for protected member in gfxFontFamily 2009-08-16 17:29:35 +01:00
Jonathan Kew d8c004c38a bug 493280 (part 1) refactor Mac font selection code and make 64-bit clean, r=joshmoz,jdaggett sr=roc
--HG--
rename : gfx/thebes/src/gfxQuartzFontCache.h => gfx/thebes/src/gfxMacPlatformFontList.h
rename : gfx/thebes/src/gfxQuartzFontCache.mm => gfx/thebes/src/gfxMacPlatformFontList.mm
2009-08-16 14:52:12 +01:00
Hashem Masoud 44f7f9d413 Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Jeff Muizelaar f277fd457a Bug 504920. Use cairo_set_can_convert_to_dib(TRUE) when creating optimized DDB image surfaces. r=vlad
This lets cairo convert and keep a DDB image into a DIB section when we paint
it to a canvas.  Avoiding the continuous conversion to an image surface
improves the performance of drawImage on to a canvas on Win32, in particular
the peacekeeper experimentalMovie benchmark.
2009-08-12 10:44:53 -04:00
Brad Lassey e30c93a57a bug 491305 - Allow loading fonts from an application folder, follow up 2009-08-11 14:21:04 -07:00
Brad Lassey 7de7827bad bug 491305 - Allow loading fonts from an application folder r=vlad 2009-05-04 13:00:54 -04:00
Vladimir Vukicevic 91997043c9 b=507037; hang on WinCE in gfxFontFamily::FindFontForStyle; r=jdaggett 2009-07-30 11:19:34 -07:00
Robert O'Callahan 22e45a4c15 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Ginn Chen 1164b26366 Bug 505678: Downloadable font feature is broken with Sun Studio compiler r=jdaggett 2009-07-29 17:40:33 +08:00
Makoto Kato 030f1ee4b2 Bug 505691 - Remove unnecessary include of nsIPref.h. r=vlad 2009-07-28 18:33:20 +09:00
Karl Tomlinson 134bf90e83 b=506135 use fontmap property on PangoFcFont only from Pango-1.24.4 r=roc
--HG--
extra : rebase_source : 3628d1e00e308ae9a0d449cba4ecd2d697636eaa
2009-07-27 12:37:59 +12:00
John Daggett 011f18d286 Bug 499621. Fix synthetic bolding of downloadable fonts on Windows. r=jkew 2009-07-23 11:22:24 -10:00
John Daggett faeca0f038 Bug 496573. Fix font load failure for fonts with family/fullname mismatch. r=vlad 2009-07-22 22:08:23 -10:00
Karl Tomlinson d9db226807 b=487971 use fontmap property on PangoFcFont from Pango-1.24
--HG--
extra : rebase_source : 97255de05f7afc7550bbb37b1e0b0296a7f4b7c0
2009-07-23 13:21:45 +12:00
Jonathan Kew 8589a0f344 bug 502795 - avoid using CTFontCreateCopyWithAttributes to disable ligatures because it fails with privately-activated download fonts, r=roc 2009-07-16 11:00:38 +01:00
Jonathan Kew 76092779a8 merge backout of b6d407af386f 2009-07-15 11:06:15 +01:00
Jonathan Kew 40d05b8061 Backed out changeset b6d407af386f for causing bug 503718 on Windows 2009-07-15 11:04:00 +01:00
Jonathan Kew ed8f9f37e3 merge backout of 705ef05105e8 2009-07-15 11:02:57 +01:00
Jonathan Kew 044de91d7f Backed out changeset 705ef05105e8 for causing bug 503718 on OS X 2009-07-15 10:59:26 +01:00
Peter Weilbacher c11338090d [OS/2] Bug 493428: adapt calculation of zeroOrAveCharWidth to what the other platforms do (using glyph advance instead of glyph width), to fix dialog widths that appear to narrow 2009-07-10 09:46:21 +02:00
Jonathan Kew 6e5e906194 Bug 475968. Pad out the glyph extents of Windows text to account for possible antialiased pixels outside the regular bounds. r=roc 2009-06-15 10:01:19 +12:00
Vladimir Vukicevic 55a2b9ffff b=494438; add optional OpenGL acceleration to ddraw surface for CE: better integration with rest of system; r=vlad 2009-07-08 16:34:02 -07:00
Vladimir Vukicevic 5f7b06c0f8 b=494438; add optional OpenGL acceleration to ddraw surface for CE: enable composite accel; r=vlad 2009-07-08 16:34:02 -07:00
Jonathan Kew 13e891b13e Bug 476927. Pad out the glyph extents of Quartz text to account for possible antialiased pixels outside the regular bounds. r=roc 2009-06-15 10:00:12 +12:00
Vladimir Vukicevic 7c20d4c9a1 b=499853; swimplify missing glyph rendering on mobile; r=stuart 2009-07-01 11:36:57 -07:00
Vladimir Vukicevic 8ed1420caa b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic 84f7f1ce2c b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Timothy Nikkel edef87e501 Bug 494664. Minor color-related cleanup. r=jmuizel,sr=vlad
--HG--
extra : rebase_source : a81d48bb0fa9faac3806b7a609d35a9eb5bdffd9
2009-06-24 21:18:17 +12:00
Takuro Ashie b4ec902c4c Bug 490285. gfxFT2Fonts needs to add second and later glyphruns in a textrun at the correct offset, not at the start of the string. r=vlad,karlt
--HG--
extra : rebase_source : 6f8702a2b1799d6883f8fa6dbec10a655c274916
2009-06-24 21:14:10 +12:00
Robert O'Callahan a5ab95e3e4 Bug 495455. Always get correct bounding boxes for text rendered with user fonts, since they are likely to be using unusually-sized glyphs. Mac/Windows only at the moment. r=jdaggett
--HG--
extra : rebase_source : 3e5a713873c59488c19f5008a075d13397566358
2009-06-24 21:04:20 +12:00
Hiroyuki Ikezoe 3a0be4a79d Bug 466250 - build failure for cairo-gtk2 build with a directfb cairo; r=roc 2009-06-23 12:50:08 +09:00
Jonathan Watt b760f912f1 Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Vladimir Vukicevic d70772089f b=493963; don't call win32 printing functions with --disable-printing; r=stuart 2009-06-16 11:57:34 -07:00
Karl Tomlinson 9b1156e336 backout 06a7d2def034 and 58c89ce9719d as possible cause of failure in test_bug450930.xhtml 2009-06-15 18:40:55 +12:00
Jonathan Kew 84369b03ab Bug 475968. Pad out the glyph extents of Windows text to account for possible antialiased pixels outside the regular bounds. r=roc
--HG--
extra : rebase_source : 25f20e31c45c26dcd0f83ea7a5d90800ead28ba0
2009-06-15 10:01:19 +12:00
Jonathan Kew 697f891330 Bug 476927. Pad out the glyph extents of Quartz text to account for possible antialiased pixels outside the regular bounds. r=roc
--HG--
extra : rebase_source : 7f5d7111ed0eb0e89f13c91e94d363739a60973e
2009-06-15 10:00:12 +12:00
Jesse Ruderman f0b1eb1771 Add crashtests 2009-06-12 19:21:09 -07:00
Jesse Ruderman 57691a473d Add crashtests 2009-05-26 11:53:12 -07:00
John Daggett 705ebcb306 Bug 483459. Remove strict validation of table directory checksums in downloadable fonts. r=vlad 2009-05-20 16:17:28 +09:00
Shawn Wilsher dc99e73259 Backed out changeset d88e6b8fab83 (bug 486974) due to reftest parsing issues. 2009-05-18 12:30:29 -04:00
Karl Tomlinson ec4430cfb4 leak (crash)test for bug 486974 2009-05-18 21:13:39 +12:00
Robert O'Callahan 8e48e1d7de Bug 489389. Limit size of temporary surface for tiling based on current clip extents. r=vlad 2009-05-08 15:19:41 +12:00
Jonathan Kew d1affd7195 bug 490777 - don't hang/crash on unpaired low surrogate codepoint in RTL text, r=roc
--HG--
extra : rebase_source : 1c278a18b1a1dd52155158775e706764b34c5972
2009-05-08 14:16:44 +12:00
Jonathan Watt 0b29897a09 Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Peter Weilbacher 054878b3b2 [OS/2] Bug 490390: fix crash with broken Wingdings font, r=wuno@lsvw 2009-04-29 01:10:56 +03:00
Jonathan Kew a0c7e4b040 Bug 481948. Rework Coretext glyph extraction code to mirror ATSUI improvements. r=roc
--HG--
extra : rebase_source : 70f67974136073b1c1c38ebe43bb2bd113770cfd
2009-04-25 20:24:25 +12:00
Jonathan Kew aa59d6e410 Bug 481948. Rework ATSUI glyph-extraction code to be more robust when glyphs are reordered. r=roc
--HG--
extra : rebase_source : 6175292f747cca9a284e69f89fe3e59bc3efd9c6
2009-04-25 20:23:57 +12:00
Bob Clary de58ea82bf bug 389326 - crash test by Jesse Ruderman. 2009-04-24 10:08:21 -07:00
Bob Clary a30608d321 bug 376627 - crash test by Jesse Ruderman. 2009-04-24 10:08:18 -07:00
Bob Clary c623a621ee bug 348462 - crash test by Gilberto Ficara, Mats Palmgren. 2009-04-24 10:08:15 -07:00
Bob Clary eabf0ff750 bug 333861 - crash test by Georgi Guninski. 2009-04-24 10:08:12 -07:00
Karl Tomlinson b7008ca8ad b=489445 override PangoFcFontClass::get_glyph r=roc
--HG--
extra : rebase_source : c7c0d843f523f352958680d57d95d55561e2f4ee
2009-04-24 09:13:02 +12:00
Takuro Ashie 7f287fe7ac b=489511; gfxFontCache will never hit on ft2 backend; r=karlt 2009-04-22 22:29:47 -07:00
Vladimir Vukicevic f6d4a5556c remove trailing comma for picky compilers 2009-04-22 18:13:05 -07:00
cmills@nvidia.com dfe008d12a b=484864, b=488910 - cairo ddraw backend for wince; r=vlad 2009-04-22 17:48:30 -07:00
Josh Aas 7a61ccd865 Port gfx to 64-bit Mac OS X, part 1. b=489354 r=jfkthame sr=roc 2009-04-22 09:08:09 -04:00
Jeremy Huddleston 04db73729f Bug 484457 - Define Status int breaks OSX builds when including MachineExceptions.h. r=vlad 2009-04-20 18:36:37 +02:00
Hiroyuki Ikezoe 0d7ea8ed3f Bug 484083 - Should load TruType Collection file too; r=bugmail@lassey.us sr=jdaggett 2009-04-18 20:02:26 +02:00
Karl Tomlinson dfb38e95ad Bug 478871: Switch to new_font() and default_substitute() functions from Pango API to fix compile issues with newer pango versions. r=behdad sr=roc 2009-04-17 12:51:43 -07:00
Jonathan Kew 84c9c97447 Bug 487549. Do kern table sanity checks on downloaded fonts. r=roc 2009-04-14 17:48:32 +09:00
Hiroyuki Ikezoe 3bfcc07136 bug 486621 - Should close file handle in gfxWindowsPlatform::FindFonts() r=vlad 2009-04-13 22:49:06 -04:00
Hiroyuki Ikezoe 376ac275d7 bug 486624 - AppendFacesFromFontFile is called twice for the same font file r=blassey, vlad 2009-04-13 22:49:06 -04:00
Robert O'Callahan 8a7d0b5cf9 Backed out changeset 994ecd62b880 2009-04-12 01:02:06 +12:00
Jonathan Kew 91ca7b446b Bug 475968. Add padding pixels to loose ink bounds on Windows because of ClearType pixel bleed. r=roc
--HG--
extra : rebase_source : 552a9133411389dd151d2cb04e5b79370ec182d4
2009-04-10 13:22:54 +12:00
Jonathan Kew 2568e2b270 Bug 487063. Assert that platform textruns are never called for zero-length text. r=roc
--HG--
extra : rebase_source : dc3dd429395d3219eb1f56e9ec4ecebd86bbfdae
2009-04-10 13:33:02 +12:00
Jonathan Kew e23049dcbc Bug 487063. gfxFontGroup::ComputeRanges should bail out on zero-length textruns. But avoid calling into platform textrun code for zero-length textruns, anyway. r=roc
--HG--
extra : rebase_source : 289989aaf2ebdf241e06aaf2bb46e170598e9b7b
2009-04-10 13:32:24 +12:00
Vladimir Vukicevic 0e1dc56112 b=480134; apply 500 char limit to all OSX versions; r=roc 2009-04-07 12:24:28 -07:00
Jeff Muizelaar 560a20d5d1 Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Makoto Kato 4e5000aef3 Bug 184657 - GFX should use the newer nsIPrefService APIs instead of nsIPref. r=roc. sr=vladimir 2009-04-04 18:43:42 +09:00
Joe Drew 745c70f481 Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar aaedb2ca38 Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
John Daggett bd46fbc500 Bug 468387. (reland) Fix Windows Mobile bustage. r=blassey 2009-04-02 17:08:11 +09:00
John Daggett 2417e8dbfb Bug 468387 - (reland) disable synthetic faces for downloadable fonts on Windows already specified as bold/italic. r=vlad 2009-04-02 17:06:33 +09:00
John Daggett 726accf85c Bug 468387. Reverting eb0b999b2f70 and 8d60bedd277b due to tinderbox crash. 2009-04-02 14:48:23 +09:00
John Daggett 5294de3193 Bug 468387. Fix Windows Mobile bustage. r=blassey 2009-04-02 13:59:13 +09:00
John Daggett eab18c3840 Bug 468387 - disable synthetic faces for downloadable fonts on Windows already specified as bold/italic. r=vlad 2009-04-02 10:35:59 +09:00
Jonathan Kew a2acf62270 Add Core Text backend, will eventually replace ATSUI. Turned off for 32-bit Mac OS X 10.4 SDK builds right now due to Mac OS X 10.4 not supporting Core Text. Try #2. b=389074 r=jdaggett 2009-03-29 17:31:51 -07:00
Josh Aas b75c3511a0 merge backout of e413694940b3 2009-03-27 14:33:47 -07:00
Josh Aas 7af19cb750 Backed out changeset e413694940b3 2009-03-27 14:32:49 -07:00
Jonathan Kew fe290e9e54 Bug 485351 - Hang [@ gfxWindowsFont::ComputeMetrics] and eating up all GDI resources with percentage height, mathml and binding; GDI resource exhaustion; r=roc
Fix Windows DC leak in TestCharacterMap, and avoid accumulation of temporary fonts in the cache leading to resource exhaustion.
2009-03-27 18:54:40 +01:00
Jonathan Kew 6f1e0ddbc2 Add Core Text backend, will eventually replace ATSUI. Turned off for 32-bit Mac OS X builds right now due to Mac OS X 10.4 not supporting Core Text. b=389074 r=jdaggett 2009-03-27 10:18:35 -07:00
Robert Longson 4758aaeb28 Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc 2009-03-21 15:36:38 +00:00
Josh Aas 0459faa60f Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Hiroyuki Ikezoe b6f696c734 Bug 480249 - gfxWindowsPlatform::ResolveFontName() almost fails since direct access to mName member.; r=jdaggett 2009-03-18 17:07:33 +01:00
Karl Tomlinson 31b2e07bfd b=480098 correct weight units in gfxFcFontEntry::AdjustPatternToCSS r=roc
--HG--
extra : rebase_source : 79604f227fc80720e4df479f1d8929f5c21623f2
2009-03-11 15:00:43 +13:00
John Daggett cba18956e5 Bug 480267. (reland) Use guid as fontname for downloaded fonts. r=vlad 2009-03-11 10:00:44 +09:00
Joe Drew d4cb78e563 Backed out changeset 635b1c8783a6 - bug 480267 - because it seems to have
caused a reftest failure.
2009-03-10 12:25:05 -04:00
John Daggett 72c8338491 Bug 480267. Use guid as fontname for downloaded fonts. r=vlad 2009-03-10 22:21:17 +09:00
Robert O'Callahan 4102e87fe4 Bug 481697 - TextRunWordCache::MakeTextRun: Mismatched free() / delete / delete []; r=vladimir 2009-03-08 10:39:00 +01:00
Jonathan Kew 39d1301436 b=480507, don't crash if no fonts found in Windows font family; r+sr=vlad 2009-03-03 11:14:07 -08:00
Jonathan Kew 92288243f1 Bug 474819 - Correct the sign of baseline offsets in ATSUI font backend. r=roc 2009-02-26 19:58:31 +13:00
John Daggett 271289f6d4 Bug 475164 - accept fonts that have null name records. r=vlad 2009-02-25 16:12:53 +09:00
Jonathan Kew f669e45ce9 Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
John Daggett e0c3b364de Bug 420981 - special case handling of UltraLight faces under Mac OS X 10.5 to work around Apple bug. r=vlad 2009-02-23 15:55:07 +09:00
John Daggett 1b864b0ab0 Bug 479152 - increment generation when local font used after external font fails to load. r=karl, sr=roc 2009-02-23 13:40:47 +09:00
Arpad Borsos 011c5b556a Bug 474369 - get rid of nsVoidArray; gfx part; r+sr=vladimir 2009-02-23 02:05:26 +01:00
L. David Baron 94595f2f88 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron c674a753b4 Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron caf423a97a Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron 77c163c9a9 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron 038026b7b5 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron 0e185f2bc0 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron 3c4144d0e6 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Ginn Chen 5ff783af51 Bug 478842 gfxColorManagementTest.cpp failed to build on Solaris r=bholley 2009-02-18 19:44:18 +08:00
John Daggett 0209f39cb9 Bug 476724 - clean out Windows-specific flags from gfxFontEntry. r=vlad 2009-02-18 16:33:39 +09:00
Jesse Ruderman 81b4a03e38 Add crashtests 2009-02-13 14:54:17 -08:00
John Daggett 556ea03b1e Bug 465463 - use style attributes defined in @font-face rule (Mac OS X). r=vlad 2009-02-12 13:08:00 +09:00
Jesse Ruderman e0ff240014 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
John Daggett d11a4a9eb3 Bug 476504 - handle errors in fetching font metrics. r=vlad 2009-02-11 10:07:50 +09:00
Jesse Ruderman aab1c02b20 Add some crashtests 2009-02-10 16:36:04 -08:00
Vladimir Vukicevic de4f913caa b=477727; remove calls to GetViewportOrgEx; r=stuart 2009-02-10 15:10:07 -08:00
mats.palmgren@bredband.net 7dc9e5bd7f Bug 477498, Crash [@ TextRunWordCache::MakeTextRun], r+sr=roc 2009-02-09 12:23:38 +02:00
Boris Zbarsky 416ea8c73b Bug 476724. Recompute underline offsets when user fonts load, and make sure to initialize all our members. r=jdaggett, sr=roc 2009-02-05 18:10:39 -05:00