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

6784 Коммитов

Автор SHA1 Сообщение Дата
Peter Weilbacher 35bd372f3f [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 e94a16a6f9 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 213a6f7bb4 Bug 505386. Compensate for unpadded font tables when renaming fonts. r=jkew. 2009-09-18 11:39:22 +09:00
John Daggett 2342c5446d Bug 516709. Do better validation of cmap tables when loading fonts. r=jkew. 2009-09-18 09:45:29 +09:00
Jonathan Kew e9ea75cd3f 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 37bbb8bf3d 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
Mark Banner 976f60e4ce Part of Bug 515595 - Ensure layout is initialised (which will initialise gfx) in test_nsIScriptableRegion.js so that the test doesn't fail on non-libxul builds. Fallout from bug 504034. r=vladimir (test only change). 2009-09-17 08:06:04 +01:00
Reed Loden 32d9ce14f2 Bug 516971 - "Remove lcms from the tree" [r=bholley r=gerv] 2009-09-17 01:17:19 -05:00
L. David Baron f81e3bdbb4 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
Jeff Muizelaar 62429fc2c2 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
This time without:
c0e01d9cd71bd958e1b31a03cea4c08a1bdf4926 (Improve GC caching efficacy)
2009-09-14 22:43:09 -04:00
Steffen Imhof 11a2f53d32 Bug 498243. Make clipping reset explicit. r=vlad
--HG--
extra : rebase_source : b055dd091f5f4d8d3219d66863c71aec91e60ad3
2009-09-11 10:32:32 +12:00
Robert O'Callahan fef577d20c Add cairo patches for Quartz gradient fixes
--HG--
extra : rebase_source : 7b50d07ec411410c7fda7b8fba423610018fd6cc
2009-08-26 10:05:44 -07:00
Takuro Ashie 682b8978d2 b=513192; Crash [@nsAString_internal::BeginReading(nsReadingIterator<unsigned short>&)]; r=jfkthame 2009-09-10 13:57:27 -07:00
Vladimir Vukicevic 718840c3e2 b=514968; optimize FT2 textrun creation with glyph cache; r=jfkthame 2009-09-10 13:52:40 -07:00
Sylvain Pasche 20e86c2b27 Bug 515455 - "Backward compatibility when layout.css.devPixelsPerPx is an integer" [r=roc] 2009-09-10 14:43:41 -04:00
Chris Jones 9d0f93c04d bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad 2009-09-09 20:22:03 -05:00
Jeff Muizelaar c9f45bc3f1 Backed out changeset 3d7b55f16ec5 2009-09-09 14:30:44 -04:00
Jeff Muizelaar b051e5a8e1 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de 2009-09-09 12:11:46 -04:00
Takuro Ashie 8ffb33380a 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 f72165980a Bug 421761 - "Use multiplication instead of division for gfxRGBA (gfxColor.h)" [r=joe r=jmuizelaar] 2009-09-08 15:14:39 -05:00
Vladimir Vukicevic d4133284fb Bug 504766. qcms: Fix unaligned reads in qcms. r=jrmuizel
Offsets are not guaranteed to be aligned, so don't assume that they are.
memcpy instead of just casting and dereferencing.
2009-09-08 11:36:28 -04:00
Markus Stange 44f10c8a32 Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc
--HG--
extra : rebase_source : dfdf06c8547b00744647d4a285809a57cdbfe1f4
2009-09-08 09:53:36 +12:00
Mook 55cdc9be60 use PRUptrdiff, not unsigned long, for PtrBits in gfxFont [r=vlad] 2009-09-04 21:46:09 -05:00
Benjamin Smedberg 667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg 6ab5d24103 CLOSED TREE spelling fixes to kick new builds. 2009-09-03 11:14:54 -04:00
Sylvain Pasche 28b8e15f98 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
Karl Tomlinson cdfd0a55e6 Don't always addref in nsFontCache::Compact() b=503784 r=pavlov
--HG--
extra : rebase_source : e6b06957a00cdf49fc2868224afd9201e22c01a8
2009-08-31 08:44:39 +12:00
Peter Weilbacher 48e67de196 [OS/2] Bug 490561 - update GetMetrics 2009-08-29 00:58:25 +03:00
Jeff Walden 502cb46fc2 Bug 508325 - Fix a second instance of the core problem fixed in the first push; also change NSCoordSaturatingMultiply into two separate functions, one of which requires the scale to be non-negative and one which doesn't. r=roc
--HG--
extra : rebase_source : e4dc7f9f8e5647512524dcaa0e48dd5f68fe64a0
2009-08-06 00:36:54 -07:00
Taras Glek 5cee56363b Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman fbaaa060e5 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman e1c6eeae90 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg 36bc86429d 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
Robert O'Callahan dd972e0387 Bug 508730. Don't repeat a Quartz gradient more times than necessary, to avoid Quartz quality problems when there are lots of repeated color stops. r=jmuizelaar
--HG--
extra : rebase_source : fb288f0d08fecc39f69df6157fa89ada95decb4c
2009-08-06 23:43:09 +12:00
Robert O'Callahan 867c8af74d Bug 508730. Clean up Quartz gradient code by moving some local variables to static const globals. r=jmuizelaar
--HG--
extra : rebase_source : c853b6ab035fd80d4565438311163771bbc6fa59
2009-08-06 23:37:06 +12:00
Robert O'Callahan 71cc2f1bf7 Bug 508227. Don't fallback to Quartz for repeating radial gradients. r=jmuizelaar
--HG--
extra : rebase_source : 8ad7452fe67f9e67f0dd6eda02d0f0afcd4f5e00
2009-08-06 23:29:16 +12:00
Robert O'Callahan cf45ccb56a Backed out changeset 875c4ba4cbc8 2009-08-25 15:46:20 -07:00
Robert O'Callahan 1cce75acac Bug 508227. Don't fallback to Quartz for repeating radial gradients. r=jmuizelaar
--HG--
extra : rebase_source : fd5f578f728b0b2149ca4fcf84e1be6706cfc9d9
2009-08-06 23:29:16 +12:00
John Daggett 2932d72611 Bug 499621. Follow-up fixup to synthetic bolding on Windows. r=jkew. 2009-08-26 01:59:20 +09:00
Benjamin Smedberg ba372f3a4c 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 ecce3d0369 Re-enable crash test for bug 441360 on gtk2 platforms. b=455463 r=me 2009-08-22 19:15:25 +02:00
Ryo Kawaguchi 4c48ab14aa Add tests to TestRect and fix TestColorNames. (Bug 113577) r=roc 2009-08-21 13:39:25 -07:00
Peter Weilbacher dcd89e0841 [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 b5592178c6 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 ad353a7959 fix Qt and GTK bustage in gfxFT2Fonts from bug 493280, r=jfkthame 2009-08-18 09:26:24 +01:00
Masatoshi Kimura ecc950211c fix wchar_t incompatibility from bug 493280, r=jfkthame 2009-08-18 09:26:20 +01:00
Jonathan Kew 58531bf4f0 further winmo (gfxFT2Fonts) bustage fix from bug 493280 2009-08-16 18:12:12 +01:00
Jonathan Kew 452525c629 fix for winmo bustage from bug 493280 - use accessor for protected member in gfxFontFamily 2009-08-16 17:29:35 +01:00
Jonathan Kew ba05bd6e50 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
Vladimir Vukicevic 0833142a5e b=509244; gfx crash on memory pressure notification; r=karlt 2009-08-14 16:51:30 -04:00
Jeff Walden 5c27762016 Convert an abort to an assertion because garbage in elsewhere is producing garbage out here, and it's taking awhile to track down the cause 2009-08-14 10:34:38 -07:00
Hashem Masoud b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Robert O'Callahan 99d3fa9a53 Bug 507939 - Remove erroneous clip rect fixup which caused repainting errors with repeating radial gradients on Mac. r=jmuizelaar
--HG--
extra : rebase_source : 24123ab8a6c676fa5e53e26820ac72cc575cc734
2009-08-14 11:07:37 +12:00
Jeff Muizelaar 47e3115671 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 3887592348 bug 491305 - Allow loading fonts from an application folder, follow up 2009-08-11 14:21:04 -07:00
Brad Lassey 70a9682233 bug 491305 - Allow loading fonts from an application folder r=vlad 2009-05-04 13:00:54 -04:00
Jeff Walden bccfe5ff78 Bug 508325 - "ABORT: negative scaling factors must be handled manually". r=roc 2009-08-05 15:34:27 -07:00
Vladimir Vukicevic 9ef67a0501 b=507037; hang on WinCE in gfxFontFamily::FindFontForStyle; r=jdaggett 2009-07-30 11:19:34 -07:00
Jeff Walden 1fb19be474 Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Robert O'Callahan db83f27954 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Timothy Nikkel 5fff4ee2f4 Bug 503814. iframe contents shifted slightly due to rounding issue. r+sr=roc 2009-07-29 18:10:50 -04:00
Ginn Chen 4e551e632a Bug 505678: Downloadable font feature is broken with Sun Studio compiler r=jdaggett 2009-07-29 17:40:33 +08:00
Makoto Kato 1c1dcefde7 Bug 505691 - Remove unnecessary include of nsIPref.h. r=vlad 2009-07-28 18:33:20 +09:00
Karl Tomlinson 9bab6c52d7 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 b03ad17222 Bug 499621. Fix synthetic bolding of downloadable fonts on Windows. r=jkew 2009-07-23 11:22:24 -10:00
John Daggett bef34be58f Bug 496573. Fix font load failure for fonts with family/fullname mismatch. r=vlad 2009-07-22 22:08:23 -10:00
Karl Tomlinson e3c7360002 b=487971 use fontmap property on PangoFcFont from Pango-1.24
--HG--
extra : rebase_source : 97255de05f7afc7550bbb37b1e0b0296a7f4b7c0
2009-07-23 13:21:45 +12:00
timeless@mozdev.org aa0a779122 Bug 491195 fix warnings in qcms
mostly comparisons between unsigned and signed
also an incomplete initializer
and a warning about using C++ style variables
r=jrmuizel
2009-07-22 17:31:03 -05:00
Jeff Muizelaar a5cefc0393 Bug 504888. qcms: Avoid integer overflow when checking buffer bounds. r=bobbyholley
Found by Chris Evans
2009-07-21 23:32:27 -04:00
Robert O'Callahan 94c4cbe089 Bug 339548. Part 8: Create nsPoint::ToNearestPixels. r=dbaron 2009-07-22 12:44:58 +12:00
Robert O'Callahan bec635e65d Bug 505184. When 'deflation' of the background area is not required, paint table backgrounds using a dedicated nsDisplayBackground instead of the multipurpose nsDisplayTableBorderBackground. r=fantasai 2009-07-22 12:44:52 +12:00
Joe Drew 2aa59235f2 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Jonathan Kew d1ebeafde8 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 12912d3c59 merge backout of b6d407af386f 2009-07-15 11:06:15 +01:00
Jonathan Kew 1bd592f93d Backed out changeset b6d407af386f for causing bug 503718 on Windows 2009-07-15 11:04:00 +01:00
Jonathan Kew 404420dcd6 merge backout of 705ef05105e8 2009-07-15 11:02:57 +01:00
Jonathan Kew 22f1b0b558 Backed out changeset 705ef05105e8 for causing bug 503718 on OS X 2009-07-15 10:59:26 +01:00
fantasai bcc6e7c37a Bug 499377 addendum - Complete nsMargin arithmetic for nsRect r=roc 2009-07-14 22:20:32 -07:00
fantasai 1816bcdd46 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
Peter Weilbacher 85bc932d57 [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 1e7b94c8cd 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
Rob Arnold df5d07b68d Bug 501475 - Remove nsPaletteInfo and friends. r=joe 2009-07-09 12:27:44 -07:00
Tobias Hunger 10017843fb Bug 498871 - Remove use of unnecessary QBrush pointer. r+sr=pavlov 2009-06-17 11:08:26 +02:00
Tobias Hunger cbf6875757 Bug 498873 - Remove use of unnecessary QPen pointer. r=pavlov 2009-06-17 13:21:04 +02:00
Vladimir Vukicevic 662ffbc455 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 ccc387da9b b=494438; add optional OpenGL acceleration to ddraw surface for CE: enable composite accel; r=vlad 2009-07-08 16:34:02 -07:00
Vladimir Vukicevic e28dc66b80 b=494438; add optional OpenGL acceleration to ddraw surface for CE: make context current as appropriate; r=vlad 2009-07-08 16:34:02 -07:00
Vladimir Vukicevic f8cddfdbb6 b=494438; add optional OpenGL acceleration to ddraw surface for CE: core code; r=vlad 2009-07-08 16:34:02 -07:00
Brad Lassey 409b836fcf bug 503096 - always used FILTER_FAST for mobile r=jmuizelaar 2009-07-08 12:50:07 -04:00
Jonathan Kew 92581d10b8 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
Jeff Muizelaar 5f01b80d83 Bug 498245. Check that the profile is an RGB profile before checking if it's bogus. r=bholley
This avoids unitialized reads on non-RGB profiles.
2009-07-02 11:34:08 -04:00
Jeff Muizelaar 75e4ff4fd2 Bug 498245. Profiles with negative colorant tristiumlus values are bogus. r=bholley
Make sure we reject these profiles.
2009-07-02 11:34:06 -04:00
Vladimir Vukicevic eb9f380d4f b=499853; swimplify missing glyph rendering on mobile; r=stuart 2009-07-01 11:36:57 -07:00
Jeff Muizelaar 23f8f1476f Bug 498428. Try the rest of the cairo update. r=joe
This time with the suspect patch to see if we hit tSVG.
2009-06-30 11:54:50 -04:00
Steffen Imhof e79913a333 Bug 500196: cairo/qt fails to build -- yet again, r=mfinkle 2009-06-30 09:58:29 -04:00
Jeff Muizelaar f436ac4b7e Bug 498428. Try to updating cairo again. r=joe
Try the update without a patch suspected of causing the Tsvg regression.
2009-06-26 15:03:00 -04:00
Vladimir Vukicevic 9ce36b7de3 b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic 670216332d b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Tobias Hunger 16d0e009ff Bug 498843. Cleanup whitespace. r+sr=pavlov
--HG--
extra : rebase_source : ee45a9fc21a466c832f70ae43e7f77a126e4c762
2009-06-17 09:56:36 +02:00
Timothy Nikkel e5bf038da5 Bug 494664. Minor color-related cleanup. r=jmuizel,sr=vlad
--HG--
extra : rebase_source : a81d48bb0fa9faac3806b7a609d35a9eb5bdffd9
2009-06-24 21:18:17 +12:00
Timothy Nikkel 62901930d7 Bug 494664. NS_ComposeColors needs to handle non-opaque background colors correctly. r=jrmuizel,sr=vlad.
--HG--
extra : rebase_source : 58e5cf406f1bc96b808700011a46838372a0bc95
2009-06-24 21:17:24 +12:00
Takuro Ashie 7e053dfbc1 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 fe7959db5e 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
Ginn Chen af456e92b3 Bug 499929 cairo-image-surface.c line 1253: void function cannot return value r=vladimir 2009-06-24 14:00:02 +08:00
Hiroyuki Ikezoe 8ae61c512a Bug 466250 - build failure for cairo-gtk2 build with a directfb cairo; r=roc 2009-06-23 12:50:08 +09:00
Jeff Muizelaar e2e22d0c3d Bug 498517. pixman: fix incorrect arm decompilation. r=vlad
The disassembler was producing:
  strh	r4, [r0, #2]
instead of
  strh	r4, [r0], #2
which was causing the alignment and index to go all wrong causing crashes.

Tested-by: dougt
2009-06-22 19:26:38 -04:00
Tobias Hunger ed3354017b Bug 498910: Add method to flush qpainter, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger fd838775eb Bug 498917: Fix some warnings in cairo-qpainter-surface.cpp, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger f49e087e76 Bug 498880: Reduce padding in cairo_qpainter_surface_t, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger 8dd8347ec2 Bug 499135: Cairo/Qt fails to build -- yet again, r=mfinkle 2009-06-22 15:19:43 -04:00
Jeff Muizelaar 7f006b04cb Bug 498689. Use scanline rasterizer on win32. r=joedrew, r=zweinberg 2009-06-22 15:01:50 -04:00
Jeff Muizelaar c8743d61f0 Bug 498428. Reverting f2ef72fbe01c because of tSVG regression 2009-06-18 16:44:02 -04:00
Jonathan Watt a743705ded Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Jeff Muizelaar 559b72947b Update cairo to b71b019fe50a9188ddbecd1945606da8ba3bad53
Adrian Johnson (3):
      Fix win32 build breakage
      Ensure win32 font index_to_ucs4() sets ucs4 to -1 if lookup fails
      Correct the comment for the index_to_ucs4 font backend function

Behdad Esfahbod (2):
      Err, make gtk-doc happy again
      [user-font] Add CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED

Chris Wilson (37):
      [build] Enable shave support
      [build] Add lcov-1.7 to known list
      [image] Return FORMAT_INVALID for an error surface.
      [image] Make _cairo_image_analayze_transparency() more format agnostic
      [image] Treat A1 image surfaces as BILEVEL_ALPHA
      [test] Create a new fallback surface to exercise 16-bit paths.
      [png] Coerce FORMAT_INVALID to a known image format
      [surface] Convert FORMAT_INVALID during snapshots
      [xlib] Use a similar content surface for cloning images
      [build] Report status of gtk-doc in summary
      [build] Fix gtk-doc interoperation with shave
      [check] Quieten output during checking headers-standalone
      [cairo] Fix errors reported by check-doc
      [cairo] Convert C99 comments to /* ... */
      [cairo] Remove stray semi-colon
      [cairo] Protect typeof against -ansi
      [skiplist] Missing include for ffs()
      [script] Missing include for INT32_MAX
      [script] Pedantic violations
      [path] Define _BSD_SOURCE to enable hypot()
      [doc] Update identifiers
      [ft] Restore the ability to lazily resolve patterns.
      [xlib] Use minimal depth for similar clones.
      [test] Fix typos that excluded backend test sources
      [test] Add a note to "Getting the elusive zero failures"
      [test] Relax APPROX_EQUALS condition
      [test] Check text->path with user-fonts (twin)
      [test] Clear expected floating point exceptions
      [test] Stress the ft from-face cache
      [memfault] Update macros to avoid namescape collision with memcheck
      [debug] Check image contents using memcheck.
      [win32] Typo
      [win32] Wrap win32-font usage with CAIRO_HAS_WIN32_FONT
      [surface] Provide nil-surface for INVALID_SIZE
      [surface] Early return if the backend cannot clone an image
      [xlib] Handle too-large images gracefully.
      [in-fill] Treat on-edge queries as inside.

Jeff Muizelaar (1):
      Only include <strings.h> for ffs() when we HAVE_FFS

Karl Tomlinson (1):
      [ft] Resolve mutual referencing problems with zombie faces
2009-06-17 10:57:16 -04:00
Vladimir Vukicevic 0da9c9be48 b=493963; don't call win32 printing functions with --disable-printing; r=stuart 2009-06-16 11:57:34 -07:00
Jonathan Kew e8b1c6c506 Bug 498252 - Correct the font-size used in context menus, r=josh 2009-06-15 22:04:22 +02:00
Karl Tomlinson dad4822eb9 backout 06a7d2def034 and 58c89ce9719d as possible cause of failure in test_bug450930.xhtml 2009-06-15 18:40:55 +12:00
Jonathan Kew 928d70795d 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 310e2bcc62 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 398e954e21 Add crashtests 2009-06-12 19:21:09 -07:00
Jonathan Kew 650956f4e7 use Cocoa instead of (deprecated, non-64bit) Appearance Manager APIs in nsSystemFontsMac (for bug 489354) r=joshmoz
--HG--
rename : gfx/src/thebes/nsSystemFontsMac.cpp => gfx/src/thebes/nsSystemFontsMac.mm
2009-06-12 14:52:35 -04:00
Jeff Muizelaar f9b6997806 Bug 497363. qcms: Fix a memory leak when fread() fails. r=joedrew
Fixes a possible leak in qcms_profile_from_file() when fread()
can't read the entire profile.
2009-06-12 14:38:34 -04:00
Jeff Muizelaar 99d30c3bf9 Bug 497363. qcms: Add reference to the rationale for not correcting alpha. r=joedrew 2009-06-12 14:38:32 -04:00
Jeff Muizelaar 341c2ba4c7 Bug 497363. qcms: Use a minimum of 256 entries when calling invert_lut. r=joedrew
Makes the number of output entries produced by invert_lut() a parameter and
changes all callers to use a minimum of 256 entries when computing the inverse.
2009-06-12 14:38:30 -04:00
Tobias Hunger c93f49c9fd Bug 493726. Fix build problems with the cairo Qt backend. r=jrmuizel 2009-06-12 14:00:42 -04:00
Jeff Muizelaar f6f5141019 Bug 485426. Add arm fast path for 565 to x888 conversion. r=vlad 2009-06-11 14:26:39 -04:00
Markus Stange f64a903399 Bug 495920 - nsThebesDeviceContext shouldn't have a reference to a native widget. r=masayuki, sr=roc 2009-06-11 11:24:41 +02:00
Jesse Ruderman b89227c825 Add crashtests 2009-05-26 11:53:12 -07:00
John Daggett 31c86edec2 Bug 483459. Remove strict validation of table directory checksums in downloadable fonts. r=vlad 2009-05-20 16:17:28 +09:00
Peter Weilbacher a49e32128d Bug 493834: fix OS/2 build break in widget/src/os2 and make sure that all
cairo headers are installed to dist/include/cairo, r=bsmedberg
2009-05-20 08:47:08 +03:00
Hiroyuki Ikezoe fc566cabc7 bug 493426 - unresolved cairo symbols related to cairo_ddraw_surface r=vlad 2009-05-19 22:27:50 -04:00
Zack Weinberg c8a52af86a Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00
Benjamin Smedberg 6df221580d Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Shawn Wilsher ae0b12db61 Backed out changeset d88e6b8fab83 (bug 486974) due to reftest parsing issues. 2009-05-18 12:30:29 -04:00
Karl Tomlinson 64240859c8 leak (crash)test for bug 486974 2009-05-18 21:13:39 +12:00
Karl Tomlinson b92cdd8365 b=486974 zombie ft_font_face / ft_unscaled_font mutual referencing problems. r=jdaggett
--HG--
extra : rebase_source : 8f2e3d477bbad5177a228681b9650735ec9d6817
2009-05-18 19:35:16 +12:00
Robert O'Callahan c8a063a105 Bug 493202. Add a layout.css.devPixelsPerPx hidden pref to control that ratio if desired. r=vlad 2009-05-18 10:09:53 +12:00
Jeff Muizelaar da6dd3cda6 Color profile reading is broken on windows. b=492962 r=joe
The fix is to properly fopen() with "rb" instead of just "r", so that windows knows to treat it as a binary
2009-05-15 18:07:34 -04:00
Makoto Kato f3efa0500b Backed out changeset c4b8a7e21ec9 2009-05-16 00:39:54 +09:00
Makoto Kato ed5dd519a5 Bug 488851 - Enable SSE2 for pixman. r=jmuizelaar 2009-05-15 23:15:24 +09:00
Brad Lassey 14352e6712 fixing gfx build bustage in wince r=joe 2009-05-14 22:47:51 -04:00
Jeff Muizelaar b30669d3f7 Bug 493079 - Update cairo to 1ae2ddc1dd4c90d50b8c57c4de677f8ab96b1fa2 r=joe 2009-05-14 22:03:26 -04:00
Jeff Muizelaar 94b6dbbe61 Bug 484954 - Fix a typo in the previous rgba text patch. r=vlad 2009-05-14 22:02:18 -04:00
Robert O'Callahan e10b98574d Followup to bustage fix for bug 491595 2009-05-14 11:19:51 +12:00
Robert O'Callahan c8d6568a33 Fixing bustage for bug 491595.
--HG--
extra : rebase_source : 36bf9b2a1cc8dabd0ef82d71ca1a04ae88587894
2009-05-14 11:10:40 +12:00
Robert O'Callahan bf982f14fd Bug 491595. Use path filling instead of platform glyph rasterization at a smaller size threshold of 256 device pixels, if the backend supports native filling (which we assume will be fast). r=vlad
--HG--
extra : rebase_source : 65728f993e0db12ec699203c5d3f711a6b51fb6e
2009-05-13 21:39:19 +12:00
Robert O'Callahan b3a5e760d6 Bug 489389. Limit size of temporary surface for tiling based on current clip extents. r=vlad 2009-05-08 15:19:41 +12:00
Robert O'Callahan b392bd31d0 Backing out fix for bug 479852 due to regressions
--HG--
extra : rebase_source : 9545085000e8e2336198daad3aaa767747398542
2009-05-08 14:35:47 +12:00
Robert O'Callahan 5c2187ce10 Backed out changeset 836d5856f1e5 2009-05-08 14:34:49 +12:00
Ryo Onodera dff270d1be Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Jonathan Kew fa85bd42db 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
Jeff Muizelaar 41eee95506 Bug 484954 - Propogate the component alpha flag when wrapping image surfaces to fix RGBA text on win32. r=vlad 2009-05-07 15:15:34 -04:00
Jeff Muizelaar 381808375b Bug 488901 - Don't use a push group on Quartz surfaces in nsThebesImage::Draw(), since Quartz doesn't seem to have any practical limits on translation. r=vlad,joe 2009-05-07 14:33:29 -04:00
Benjamin Smedberg 147cdd7058 Bug 486064 - gfxtypes.h and gfxTypes.h conflict in flattened include directories on case-insensitive filesystems, r=joe
--HG--
rename : gfx/idl/gfxtypes.idl => gfx/idl/gfxidltypes.idl
2009-05-04 12:38:16 -04:00
Vladimir Vukicevic d9073e45b1 b=479852; fix slow page scrolling with zoom when 1px tall or wide images are tiled; r=roc 2009-04-11 18:29:11 -07:00
Robert O'Callahan 5dd7bd88b9 Backed out changeset 994ecd62b880 2009-04-12 01:02:06 +12:00
Jonathan Kew 51157544df 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
Jeff Muizelaar af28265c3e Bug 487566 - OS/2 problems to build qcms; r=mozilla@Weilbacher.org 2009-04-11 09:53:40 +02:00
Masayuki Nakano 4184a11813 Bug 482928 All menus, context menus, panels, etc, appear on primary display/screen/monitor when Firefox is on secondary r=smichaud+roc+jmathies, sr=vlad 2009-04-10 19:43:19 +09:00
Jonathan Kew ae84d0e906 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 d6b90da908 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
Stuart Parmenter 8d808221a7 Bug 482689. Optimize display lists for backgrounds. r/sr=roc 2009-04-08 08:19:51 -07:00
Jeremy D. Lea 9730c943dc Bug 419125 - Remove assert to fix bustage; 2009-04-08 12:48:34 -07:00
Jeremy D. Lea d481ca446b Bug 419125 - Part 3 - Merge nsRenderingContextImpl into nsThebesRenderingContext; r+sr=vlad 2009-04-08 11:40:32 -07:00
Jeremy D. Lea c0ab49bb1b Bug 419125 - Part 2 - Merge DeviceContextImpl into nsThebesDeviceContext; r+sr=vlad 2009-04-08 11:40:24 -07:00
Jeremy D. Lea b6186beddc Bug 419125 - Part 1 - Minour cleanups of nsThebesDeviceContext; r+sr=vlad 2009-04-08 11:40:12 -07:00
Vladimir Vukicevic e3fa4c27c4 b=482676; fix build bustage with NEON explicitly disabled or not available; r=me 2009-04-07 19:03:48 -07:00
Vladimir Vukicevic 8b39b9f6dc mobile only; temporarily disable building NEON pixman bits to see if it fixes build breakage 2009-04-07 18:44:22 -07:00
Vladimir Vukicevic 7b3d7e29c1 b=480134; apply 500 char limit to all OSX versions; r=roc 2009-04-07 12:24:28 -07:00
Vladimir Vukicevic 8f6c5b65be b=482676; add pixman NEON optimizations; r=jeff 2009-04-07 12:12:31 -07:00
Jeff Muizelaar 52c97edf1e 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
Robert Longson 84203c61ee Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc 2009-04-05 10:52:14 +01:00
Anders Kaseorg 12c9d1e442 Bug 190778 - [gtk2] Assumes font sizes are integers, they are not; r=blizzard sr=roc 2009-04-30 12:07:20 +02:00
Jonathan Watt 0a8223656c Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Peter Weilbacher 5e65fbeecb [OS/2] Bug 490390: fix crash with broken Wingdings font, r=wuno@lsvw 2009-04-29 01:10:56 +03:00
Doug Turner 5bbb8e9d6b bug 489594 - fix for unaligned read in fbCompositeSrcAdd_8000x8000arm. r=blassey 2009-04-28 09:46:28 -07:00
Makoto Kato b4c172a882 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 db7246feb6 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 e823d73623 Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
John Daggett 76aeb9e73e Bug 468387. (reland) Fix Windows Mobile bustage. r=blassey 2009-04-02 17:08:11 +09:00
John Daggett 062627600b 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 e53add7ac7 Bug 468387. Reverting eb0b999b2f70 and 8d60bedd277b due to tinderbox crash. 2009-04-02 14:48:23 +09:00
John Daggett 360a2ccf7c Bug 468387. Fix Windows Mobile bustage. r=blassey 2009-04-02 13:59:13 +09:00
John Daggett ae7f73220e 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
Jeremy D. Lea 0e51628bd3 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Jonathan Kew ea5d72e887 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 334faaae20 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
Kenneth Waters 699fe1c9fa b=488910,b=484864; fix directdraw path for aliased windows that aren't within screen bounds; r=vlad 2009-04-24 12:00:13 -07:00
Bob Clary 5e02e4d975 bug 389326 - crash test by Jesse Ruderman. 2009-04-24 10:08:21 -07:00
Bob Clary 41f17610cd bug 376627 - crash test by Jesse Ruderman. 2009-04-24 10:08:18 -07:00
Bob Clary e9f1beea6f bug 348462 - crash test by Gilberto Ficara, Mats Palmgren. 2009-04-24 10:08:15 -07:00
Bob Clary e53062328c bug 333861 - crash test by Georgi Guninski. 2009-04-24 10:08:12 -07:00
Karl Tomlinson 24e4a92e71 b=489445 override PangoFcFontClass::get_glyph r=roc
--HG--
extra : rebase_source : c7c0d843f523f352958680d57d95d55561e2f4ee
2009-04-24 09:13:02 +12:00
Peter Weilbacher 8f59ba8025 Bug 488468: qcms build break with pre-4 GCCs (#if 0 commented text should be C/C++ commented), r=jmuizelaar 2009-04-23 19:38:11 +02:00
Takuro Ashie 12caaf23ec b=489511; gfxFontCache will never hit on ft2 backend; r=karlt 2009-04-22 22:29:47 -07:00
Vladimir Vukicevic 257a5fc973 remove trailing comma for picky compilers 2009-04-22 18:13:05 -07:00
Vladimir Vukicevic 6047b94178 b=488910, cairo ddraw backend for wince (configure bits); r=vlad 2009-04-22 17:48:30 -07:00
cmills@nvidia.com 98d436b376 b=484864, b=488910 - cairo ddraw backend for wince; r=vlad 2009-04-22 17:48:30 -07:00
Jeff Muizelaar a0d9e260b1 Bug 488955 - Fix linear gamma input tables, used in iCCP PNG testsuite images. r=joe 2009-04-22 13:49:09 -04:00
Jonathan Kew 9c5052b1c6 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 25f5dddfaa merge backout of e413694940b3 2009-03-27 14:33:47 -07:00
Josh Aas ead58807ca Backed out changeset e413694940b3 2009-03-27 14:32:49 -07:00
Jonathan Kew a793145c11 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 142b887c3f 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
Tobias Hunger 2f5a14c65e Bug 485156 - cairo-qt fails to build; r=vladimir 2009-03-27 00:49:22 +01:00
Joe Drew f0457535f8 Bug 484076 - Shrink the glyph cache to fix tp_Rss regression. r=me 2009-03-23 21:53:40 -04:00
Brad Lassey f675ff163f bug 484076 - hypot depricated on windows and non-existant on windows ce r=vlad 2009-03-21 14:58:42 -04:00
Robert Longson fb4afd4ad6 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
Jeff Muizelaar 699138bfb1 Bug 484076 - Fix Windows CE build. 2009-03-20 16:46:52 -04:00
Joe Drew 1df9d9d65c Bug 484076 - Update pixman and cairo. This upgrades Cairo to git revision c932a809d6484503d7ee267d934bbc87c8d44092. r=vlad 2009-03-20 16:02:45 -04:00
Taras Glek a5e1d36a0e Bug 483425 - memory leak fix + testcase r=vlad 2009-03-19 11:45:07 -07:00
Josh Aas dde6460538 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Jeff Muizelaar 9524f81b71 Bug 484076 - Update pixman and cairo to newer upstream versions. r=vlad
Pixman revision is 072d848f592530973f1f0a0066a320ec5965625c
Cairo revision is 3ec94f9b5917b8f71304c982bd153e5a810f3b12
2009-03-19 13:34:17 -04:00
Taras Glek 03957df515 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 11:42:07 -07:00
Taras Glek e5518c5104 Backed out changeset 9d34172f942f 2009-03-18 10:20:50 -07:00
Taras Glek 4228bce5c8 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 09:53:34 -07:00
Taras Glek adb0472423 Bug 477708 - backout previous numRects, getRect attempt r=vlad 2009-03-18 09:53:14 -07:00
Hiroyuki Ikezoe 269b9c16a1 Bug 480249 - gfxWindowsPlatform::ResolveFontName() almost fails since direct access to mName member.; r=jdaggett 2009-03-18 17:07:33 +01:00
Karl Tomlinson 2e14d4895d 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 27a30ea07a Bug 480267. (reland) Use guid as fontname for downloaded fonts. r=vlad 2009-03-11 10:00:44 +09:00
Joe Drew a15cc4761c 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 a7fbf9a901 Bug 480267. Use guid as fontname for downloaded fonts. r=vlad 2009-03-10 22:21:17 +09:00
L. David Baron bc2f3dd312 Remove internal support for units that were never in CSS (feet, miles, meters, kilometers, didots, ciceros). (Bug 482146) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
Robert O'Callahan 369f8525dd Bug 481697 - TextRunWordCache::MakeTextRun: Mismatched free() / delete / delete []; r=vladimir 2009-03-08 10:39:00 +01:00
Jonathan Kew 2a8b294c9b b=480507, don't crash if no fonts found in Windows font family; r+sr=vlad 2009-03-03 11:14:07 -08:00
Vladimir Vukicevic c5a3636d82 b=481138; no, really fix pixman_have_arm_simd; r=vlad 2009-03-03 00:00:33 -08:00
Hiroyuki Ikezoe 3ae363b853 b=481138; initialize not set in pixman_have_arm_simd; r=vlad 2009-03-02 23:58:29 -08:00
Jeff Muizelaar d7acca7d90 b=468883; port pixman arm opts to Windows CE; r=jrmuizel,vlad 2009-02-26 12:03:51 -08:00
Jonathan Kew f9fb9cf40d Bug 474819 - Correct the sign of baseline offsets in ATSUI font backend. r=roc 2009-02-26 19:58:31 +13:00
John Daggett b53a7ddc62 Bug 475164 - accept fonts that have null name records. r=vlad 2009-02-25 16:12:53 +09:00
Mats Palmgren cccd4ed473 Initialize mColor to fix UMR. b=480032 r+sr=vladimir 2009-02-25 02:42:52 +01:00
Jonathan Kew 1f1f9c6f35 Bug 445087; add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels; r=(roc + vladimir) sr=roc 2009-02-24 17:53:31 +01:00
Jonathan Kew 526a0ca6e9 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 a4a7e95a35 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 d6571cb5e3 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 477b01155c Bug 474369 - get rid of nsVoidArray; gfx part; r+sr=vladimir 2009-02-23 02:05:26 +01:00
L. David Baron 3a120c56d3 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 da21efddd5 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 bd25838a7a 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 c936720f0a 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 11e12c4425 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
Jeremy D. Lea 55c57c0ab2 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
L. David Baron 3d090560b0 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 7ee7fbc33f 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 e730e00684 Bug 478842 gfxColorManagementTest.cpp failed to build on Solaris r=bholley 2009-02-18 19:44:18 +08:00
John Daggett a9f45d5c9a Bug 476724 - clean out Windows-specific flags from gfxFontEntry. r=vlad 2009-02-18 16:33:39 +09:00
Serge Gautherie 0d99859fec Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea 5ad3fa0eed Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Jesse Ruderman ea905567dc Add crashtests 2009-02-13 14:54:17 -08:00
John Daggett 2b7d253fff 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 397e21afab Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
John Daggett a79e10cf3e Bug 476504 - handle errors in fetching font metrics. r=vlad 2009-02-11 10:07:50 +09:00
Jesse Ruderman e6ffd994a3 Add some crashtests 2009-02-10 16:36:04 -08:00
Vladimir Vukicevic bc644f3d19 b=477727; remove calls to GetViewportOrgEx; r=stuart 2009-02-10 15:10:07 -08:00
Taras Glek c24af569ee Bug 477708 - expose nsIRegion::getrects() to scripts r=stuart 2009-02-10 15:10:07 -08:00
Jonathan Kew 703bd47e05 Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc 2009-02-10 21:34:51 +13:00
mats.palmgren@bredband.net 74d60c72d5 Bug 477498, Crash [@ TextRunWordCache::MakeTextRun], r+sr=roc 2009-02-09 12:23:38 +02:00
Gavin Sharp 6b6551ba05 Add bug 474886 to cairo README 2009-02-06 17:33:13 -05:00
L. David Baron 63217d7258 Invalidate the correct area when loading an image for which we've displayed the loading-image icon. (Bug 409870) r+sr=bzbarsky r=roc 2009-02-06 08:52:13 -08:00
Boris Zbarsky d7b8cce8d7 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
Peter Van der Beken 3066e39041 Backed out changeset d679ac3a8de0 - merge 2009-02-05 15:35:01 +01:00
Peter Van der Beken 7f4fa9f3fc Backed out changeset d679ac3a8de0 (Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad) to fix orange. 2009-02-05 15:34:12 +01:00
Jonathan Kew ae69de7018 Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad 2009-02-05 21:06:14 +13:00
Arpad Borsos 5a0cc7264d Bug 476805. Stop leak by avoiding double refs. r+sr=roc 2009-02-04 14:21:02 +01:00
Zack Weinberg a66146acfe Bug 455364. Add Thebes API to extract a subimage of an image into a new image. r=vlad 2009-02-05 21:14:07 +13:00
Jeff Muizelaar 420953734e Bug 474886 - Allow rank 0 matrices when setting the font matrix. r=vlad p=jrmuizel
cairo_scaled_font_init() allows rank 0 matrics so cairo_set_font_matrix
should too. This keeps us from accidentally breaking our cairo context
and causing things to draw wrong.
2009-02-04 14:07:59 -05:00
Marco Bonardo 06d5700ea5 Backed out changeset 8a79415ac146 due to persistent orange on OS X unit test boxes 2009-02-04 11:50:07 +01:00
Boris Zbarsky 60d169556d Bug 476724. Recomputed underline offset after we rebuild our font set. r+sr=roc 2009-02-03 21:58:21 -05:00
Arpad Borsos a7c1dec752 Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Robert O'Callahan a695ce320f Backed out changeset c7385f0a0168 2009-01-30 23:21:53 +13:00
Jonathan Kew cf8da0937f Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad
--HG--
extra : rebase_source : 30a3730fd3db418854462cc31dc0ee06c7f56ae0
2009-01-30 20:15:08 +13:00
L. David Baron 38d578f649 Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
L. David Baron 48f0a08ad3 Separate previously-copied font constants into their own file and have them in one place rather than three. (Bug 3512) r=vlad 2009-01-29 12:39:18 -08:00
Doug Turner 21bba21b2c Bug 474825 - honor mozilla.widget.disable-native-theme preference on windows. r/sr=stuart 2009-01-28 15:39:13 -08:00
Robert O'Callahan 9ea5fbf6e6 Backed out changeset 360b4a2d0aa8 2009-01-29 00:55:19 +13:00
Jonathan Kew 13f1371d97 Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad 2009-01-28 22:41:34 +13:00
Jonathan Kew 59ebf9faaa Bug 454098. Fix signs for baseline offsets for glyphs on Windows. r+sr=roc 2009-01-28 22:39:35 +13:00
Behdad Esfahod b39f6d346b Bug 460023. Change the glyph dropping safety margin from 2em to 10em. r=vlad 2009-01-28 22:36:23 +13:00
Ginn Chen d51a674744 Bug 474758 FcFontSetSort() crashes on Solaris r=karlt 2009-01-23 16:24:36 +08:00
Brad Lassey 8e2f79ad8d bug 462908 - Follow up to fix indentation and include patch in gfx/cairo 2009-01-23 02:59:24 -05:00
Brad Lassey 598810b6ec bug 462908 - Implement Freetype font backend for windows ce r=karlt, jdagget sr=stuart, vlad 2009-01-23 01:24:29 -05:00
Daniel Holbert 4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski 424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Arpad Borsos e4a2e70daa Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Fred Jendrzejewski d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan 804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 065bde22f3 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Jeremy Lea ce80f69254 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Ehsan Akhgari 925938f029 Bug 473530 - PRBool violations after landing of bug 441782; r,sr=roc 2009-01-15 11:24:44 +03:30
Doug Turner 6cc200565f Bug 468399. Use image surfaces on windows mobile for performance reasons. r=vlad 2009-01-14 16:19:39 -08:00
Robert Kaiser 67cb20d4be bug 464687 - --enable-tests static build bustage in thebes/test, r=vlad 2009-01-14 14:48:33 +01:00
Josh Aas 34a1aa7ff3 Port gfx to 64-bit Mac OS X, part 1. b=489354 r=jfkthame sr=roc 2009-04-22 09:08:09 -04:00
Vladimir Vukicevic 7a7889cf19 b=488685; cruft in GIF image; r=joe,roc 2009-04-21 21:33:37 -07:00
Jeff Muizelaar 90fcc20f84 Bug 488747 - Fix endian handling in qcms. r=joe 2009-04-21 22:22:29 -04:00
Jeff Muizelaar dcd15d3bce Bug 489133 - Handle bad cHRM chunks in PNGs. r=joe 2009-04-21 22:21:48 -04:00
Jeff Muizelaar 780d2ffe8c Bug 489133 - Fix handling of bad whitepoints in PNGs. r=joe 2009-04-21 22:21:13 -04:00
Jeremy Huddleston 4b5fed1619 Bug 484457 - Define Status int breaks OSX builds when including MachineExceptions.h. r=vlad 2009-04-20 18:36:37 +02:00
Hiroyuki Ikezoe eb8e0ea6d9 Bug 484083 - Should load TruType Collection file too; r=bugmail@lassey.us sr=jdaggett 2009-04-18 20:02:26 +02:00
Karl Tomlinson e333ea2940 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
Makoto Kato 784aeab18f Bug 487900 - Enable SSE2 code for x86_64 in qcms. r=jmuizelaar 2009-04-15 22:14:03 +09:00
Ginn Chen 334cd17929 Bug 487765 - Fix qcms build problems on Solaris. r=jrmuizel 2009-04-14 11:25:31 -04:00
Marco Perez 3aa8c0a10c Bug 487754 - Problems building qcms on FreeBSD. r=jrmuizel 2009-04-14 11:08:23 -04:00
Jonathan Kew b3abc7a50e Bug 487549. Do kern table sanity checks on downloaded fonts. r=roc 2009-04-14 17:48:32 +09:00
Hiroyuki Ikezoe d546f8bd5e bug 486621 - Should close file handle in gfxWindowsPlatform::FindFonts() r=vlad 2009-04-13 22:49:06 -04:00
Hiroyuki Ikezoe 96254f7970 bug 486624 - AppendFacesFromFontFile is called twice for the same font file r=blassey, vlad 2009-04-13 22:49:06 -04:00
John Daggett c2491862a8 Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron. 2009-01-13 14:16:58 +09:00
Jesse Ruderman 671ee62119 Add supercombiner as a crashtest 2009-01-12 19:46:35 -08:00
Vladimir Vukicevic b9c2c213f8 b=455243, weird behaviour with fonts with bad faces; r=jdaggett 2009-01-12 11:23:41 -08:00
Robert O'Callahan fe457806bc Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2009-01-09 13:23:28 +13:00
Vladimir Vukicevic a692693a68 b=469916, lcms error when trying to open 0-sized profile; r=bholley 2009-01-07 11:50:14 -08:00
Dão Gottwald bbb863d309 Bug 471923 - kill tab-left-edge and tab-right-edge -moz-appearance values. r+sr=roc 2009-01-04 15:01:48 +01:00
Arpad Borsos 880d20fa55 Bug 471877 - Cleanup GTK includes; r+sr=roc 2009-01-03 08:37:52 +01:00
Karl Tomlinson bffdd2153c b=469752 don't increment generation after LookupLocalFont in gfxUserFontSet::LoadNext r=jdaggett 2009-01-03 16:28:46 +13:00
Karl Tomlinson 911b1cef22 b=468218 @font-face { src:local() } for GTK/Pango r=roc 2009-01-03 16:21:49 +13:00
Jesse Ruderman e7ff093116 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Jonathan Kew 426355df9f Bug 470418 - Leak nsStyleContext with RTL, text-transform; r,sr=roc 2009-01-01 16:34:13 +03:30
timeless fca22cd8c7 Bug 469019 - gfxRect shouldn't be forward declared as a class; fixing forward declaration to match impl; r=(bzbarsky + longsonr) sr=roc 2008-12-30 06:34:56 +01:00
L. David Baron bac01a39da Make the Windows widget code report 24-bit color depth when the display driver reports 32, since it's the same number of bits per pixel. (Bug 466669) r=vlad 2008-12-23 09:06:56 -05:00
John Daggett 26696d4f58 Bug 458160 - Enable downloadable .otf fonts under Windows. r=roc, sr=vlad. 2008-12-22 14:01:14 +09:00
Jonathan Kew 7306315f29 Bug 463806 - [PATCH][@font-face] Downloaded font activation on Mac may fail due to ATS cache corruption; r=(jdaggett + roc) sr=roc 2008-12-21 02:26:18 +01:00
Jeff Muizelaar 58fe6d8f74 Bug 467423 - Painting stops in this case, using -moz-transform: scale, rotate and video; r=vladimir 2008-12-20 01:59:17 +01:00
Ehsan Akhgari c5ae2a1961 Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
Robert O'Callahan baf3a54456 Backed out changeset dcd1ad7a918e 2008-12-18 16:05:16 +13:00
Robert O'Callahan 1994393d68 Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2008-12-18 14:13:23 +13:00
Justin Dolske f2a8a199ed Merge backout of 98ea743c9156 (bug 463806) due to crashes on OS X 10.4 Talos boxes. 2008-12-17 13:02:57 -08:00
Justin Dolske 8acba1c8ee Backed out changeset 98ea743c9156 (Bug 463806) due to crashes on OS X 10.4 talos boxes. 2008-12-17 13:01:30 -08:00
Robert O'Callahan 14634e7506 Bug 467487. Use a better and more explicit check for the case where a text frame's textrun doesn't map enough text for the frame. r=smontagu
--HG--
extra : rebase_source : d9f9f7f8d7b84622b3be4f951133074ef7f5846d
2008-12-17 15:14:33 +13:00
Jonathan Kew d9fa8be852 Bug 463806. Work around transient ATS cache failures on Mac. r=jdaggett,sr=roc
--HG--
extra : rebase_source : af01b4cb3e9b09be52bd07b98b422b0834f21027
2008-12-17 13:24:30 +13:00
Martin Stránský 5f8aedcf13 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson dea545b65e backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský 7d9de4223a b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Robert O'Callahan 44b2c729e4 Backed out changeset 0cb24a4bcd9b 2008-12-13 00:09:56 +13:00
Robert O'Callahan 3eb7a5c205 Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2008-12-12 21:37:59 +13:00
John Daggett 1a7886ee8c Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc 2008-12-12 16:31:51 +09:00
Brad Lassey bec05aaa7b Bug 465554 - gtk build fails in gfxPlatformGtk.cpp with --disable-pango r=stuart 2008-12-11 11:50:31 -08:00
Markus Stange a5dc4569b8 Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc 2008-12-11 15:37:38 +01:00
Robert O'Callahan f66d4d802b Bug 467518. Interpret gfxBlur's border radius properly, as the actual boundary of the shadow, not the box-blur size. r=vlad 2008-12-08 13:59:21 +13:00
Robert O'Callahan 941d69d39a Bug 466268. Fix cairo-win32 bug that needed MOD but was using the C % operator. r=jmuizelaar 2008-12-08 13:54:10 +13:00
Bobby Holley dabb3abcab LCMS LI16F_FORWARD renamed to LI8F_FORWARD - bug 457626.r=vlad 2008-12-06 22:55:10 -08:00
Bobby Holley 605ecc7325 LCMS bogus profile detection - Bug 460629. r=vlad 2008-12-06 22:32:24 -08:00
Bobby Holley e4de89d4b9 Disable fatal LCMS errors earlier in thebes - bug 458164. r=joe 2008-12-06 22:24:25 -08:00
Michael Ventnor f770f5b88f Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange 53d5c006d9 Bug 450800 - Add -moz-appearance: searchfield on Mac OS X; general NSCell drawing cleanup. r=smichaud sr=roc 2008-12-06 12:40:58 +01:00
Karl Tomlinson 59c0d7cfcb b=462798 fixage: add NS_VISIBILITY_DEFAULT to cairo_ft_font_options_substitute declaration 2008-12-06 18:06:42 +13:00
Karl Tomlinson 26606ebdca b=462798 don't pass cairo_font_options_t* between system and moz cairo. r=vlad 2008-12-06 12:24:49 +13:00
Karl Tomlinson 07f5af473c b=458169 @font-face { src: url() } for Linux. r=roc 2008-12-06 12:19:27 +13:00
Karl Tomlinson ad81efd1c3 b=467874 only destroy FT_Faces created by cairo. r=vlad 2008-12-06 12:08:45 +13:00
Jeff Muizelaar 9f34302a49 Bug 461202 - Turn on SSE2 pixman optimizations; on MsVC only; (no review) 2008-12-05 07:15:28 +01:00
Zack Weinberg 5f09cf12fb Bug 459148 - use thebes primitives for SVG rounded rects - r=longsonr,vlad sr=roc 2008-12-04 21:01:37 -08:00
L. David Baron 2dccf4784c Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Makoto Kato 3d25e34871 Bug 447982 - Disable MMX on x86-64 and ARM when using MSVC. r/sr=vladimir 2008-12-04 22:44:55 +09:00
Doug Turner 958c994fd3 Bug 461860 - windows mobile fixes in gfx r+sr=vlad 2008-12-03 08:42:03 -05:00
Robert O'Callahan 262988e865 Bug 463307. Convert to float a bit earlier to avoid integer overflow. r+sr=dbaron 2008-12-03 14:32:18 +13:00
Michael Ventnor 2c0bdc7607 Bug 463938. Don't use nearest-neighbour sampling for downscaling; the X bug workaround is only needed for upscaling (we hope). r=vlad 2008-12-03 14:25:58 +13:00
Jonathan Kew 93c9d39a05 Bug 467228. Disable line start/end swashes on Mac since we don't support line-boundary shaping properly yet. r=roc 2008-12-03 09:58:41 +13:00
Robert O'Callahan 2356d63883 Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad 2008-12-03 09:46:44 +13:00
Oleg Romashin e6db64756b Bug 463872 - Cairo-qpainter build is broken after latest cairo update. missing part. r=vladimir. 2008-12-02 22:11:04 -05:00
Peter Weilbacher 1addf71d4a [OS/2] No Bug: add minor change and comment to gfxOS2FontGroup::FontCallback; fix debug output for missing fonts 2008-12-02 20:36:12 +01:00
Peter Weilbacher ce2533843f Bug 466956: fix alias check in gfxFontconfigUtils::ResolveFontName for correct return value, r=karlt, sr=roc 2008-12-02 20:29:17 +01:00
Shawn Wilsher 4b453d49eb Backed out changeset 0586ee185c87 (bug 460629) to investigate possible performance regression (bug 467102) 2008-11-28 11:02:01 -08:00
Bobby Holley 757f73a437 Bug 460629 - Bogus ICC profile detection for LCMS.r=vlad,a191=beltzner 2008-11-28 10:17:32 +01:00
Peter Weilbacher 21b290f70d [OS/2] cairo-os2 build fix that was already applied in upstream cairo 2008-11-28 00:06:22 +01:00
Robert O'Callahan 35c0e7bd30 Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
John Daggett 470f5c3f5b Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
Peter Weilbacher 1677329e7e [OS/2] implement (but not yet activate) synthetic oblique using font matrix skewing in gfxOS2Font::CairoScaledFont 2008-11-26 20:13:43 +01:00
Peter Weilbacher 024bf60eb6 [OS/2] de-indent gfxOS2Font::GetMetrics and get a few improvements that were added to gfxFT2Font in the meantime 2008-11-26 20:12:52 +01:00
Peter Weilbacher 3b6607278f [OS/2] remove two unused, already commented, code lines from gfxOS2Platform.cpp 2008-11-26 20:12:52 +01:00
Jonathan Kew d0d49f42c3 fix uninitialized variable causing incorrect fallback font selection (bug 451426) r=roc sr=roc 2008-11-26 10:13:02 -08:00
Brad Lassey f756be8f77 backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp. 2008-11-26 12:20:26 -05:00
Robert O'Callahan 9e8b129887 Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
L. David Baron 29208d6cc4 Check that the user font set matches before returning an entry from the font cache. (Bug 457821) r=jdaggett sr=roc a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron 72a6a28162 Remove gfxFontLoaderContext, which seems to be replaced by gfxUserFont::LoaderContext. (Bug 457821) r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Peter Weilbacher 5612a7bde1 [OS/2] Bug 465691: make sure that we matched a font before using it and rename "Deja Vu" to "DejaVu", r=wuno@lsvw, a191b2=beltzner (CLOSED TREE) 2008-11-24 20:18:39 +01:00
Peter Weilbacher 06932e14c6 [OS/2] Bug 465691: fix debug output to compile again (CLOSED TREE) 2008-11-24 20:18:15 +01:00
Jeff Muizelaar 707c8cc829 pixman doesn't support 0x0 images so ensure we don't ever create them.
b=463301 p=jrmuizel r=vlad a=blocking191
2008-11-13 16:25:37 -05:00
Vladimir Vukicevic ad77640a1e b=463872; fix qt backend cairo build; r=me 2008-11-09 15:43:39 -08:00
Vladimir Vukicevic 2bfaffb3eb b=455513; add optional flag to allow converting a DDB to a DIB internally, if the surface is every used as a source; r=jmuizelaar
If a DDB is used as a source for an operation that can't be handled
natively by GDI, we end up needing to take a really slow path (creating a
temporary surface for acquire_source) for each operation.  If we convert
the DDB to a DIB, we then end up having a real image buffer and can hand
things off to pixman directly.

This isn't the default mode because I'm not sure if there are cases where a
DDB is explicitly needed (e.g. for printing), and it would change
current cairo behaviour.  It might become the default at some point in the
future.
2008-11-09 15:40:55 -08:00
Vladimir Vukicevic 7835449822 b=424333; BadAlloc under X when viewing extremely large images; r=joe 2008-11-09 15:39:41 -08:00
Karl Tomlinson 06263ce5f7 b=449356 remove accidentally added code 2008-11-07 15:37:52 +13:00
Karl Tomlinson 464d06f4c0 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 15:21:34 +13:00
Robert O'Callahan ee00d290e8 Bug 456330. Fix translation to account for top/left padding. r=vlad 2008-11-07 13:56:57 +13:00
Karl Tomlinson a6013ebc12 backout b=449356 9621d305de92 2008-11-07 10:49:14 +13:00
Karl Tomlinson 159005ad48 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 09:39:06 +13:00
Simon Montagu a4cb2de1c3 Detect clusters in Indic scripts where an initial RA is reordered after the following consonant and vowel. Bug 428317, r=roc 2008-11-06 02:02:51 -08:00
Vladimir Vukicevic b22735849c b=462938, Upgrade cairo to 1.8.2 and pixman to 0.12.0 [cairo piece] 2008-11-05 23:48:23 -08:00
Vladimir Vukicevic ad77c191d9 b=462938, Upgrade cairo to 1.8.2 and pixman to 0.12.0 [pixman piece]
--HG--
rename : gfx/cairo/libpixman/src/pixman-arm.c => gfx/cairo/libpixman/src/pixman-arm-simd.c
rename : gfx/cairo/libpixman/src/pixman-arm.h => gfx/cairo/libpixman/src/pixman-arm-simd.h
2008-11-05 23:48:20 -08:00
John Daggett 47f3889372 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Karl Tomlinson 05179c6434 backout b=449356 e8665c7cfdf2 and 20113c4780d2 2008-11-06 12:26:22 +13:00
Karl Tomlinson a19cdad97d b=449356 remove stray "static" keyword 2008-11-06 11:48:20 +13:00
Karl Tomlinson c39432645f b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-06 11:14:02 +13:00
Robert O'Callahan f27247750a Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Doug Turner cfac364626 WinCE only. Adding a -D to our define list on windows mobile. r=vlad 2008-11-04 12:37:27 -08:00
Doug Turner 7756724d4a Fix build bustage in 462911. We need to either build printing or define CAIRO_OMIT_WIN32_PRINTING 2008-11-04 08:58:42 -08:00
Doug Turner 7383e91d08 Bug 462911 - support NS_PRINTING in gfx / cairo. r=vlad 2008-11-04 07:43:45 -08:00
Phil Ringnalda 538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Markus Stange 4398b659b8 Bug 459708 - Remove -moz-appearance values "radio-small" and "checkbox-small", r=roc 2008-11-03 14:12:59 +01:00
Simon Montagu fdecf60028 Turning off symbol ligatures can turn off required ligatures also in some fonts. Bug 462387, r+sr=roc 2008-11-02 06:11:10 -08:00
Robert O'Callahan 7f65b0327b Bug 458928. Render windowed Windows plugins using PrintWindow when necessary, and use gfxWindowsNativeDrawing for windowless plugins so we can draw them correctly under all circumstances. r=vlad,sr=jst 2008-10-29 22:28:25 -07:00
John Daggett 40f64ca9de Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
Karl Tomlinson 22ab506605 b=455647 garbage Indic characters on parts of some English webpages. r=pavlov 2008-10-29 10:24:06 -07:00