Commit Graph

1111 Commits

Author SHA1 Message Date
Karl Tomlinson
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 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
46299947fc Backed out changeset 0cb24a4bcd9b 2008-12-13 00:09:56 +13:00
Robert O'Callahan
a6a68372fb 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
4e18b0296a Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc 2008-12-12 16:31:51 +09:00
Brad Lassey
d11d06e680 Bug 465554 - gtk build fails in gfxPlatformGtk.cpp with --disable-pango r=stuart 2008-12-11 11:50:31 -08:00
Markus Stange
975559338c Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc 2008-12-11 15:37:38 +01:00
Robert O'Callahan
d980ae8005 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
10f2d6de05 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
263791c64a LCMS LI16F_FORWARD renamed to LI8F_FORWARD - bug 457626.r=vlad 2008-12-06 22:55:10 -08:00
Bobby Holley
6a4d40ce2a LCMS bogus profile detection - Bug 460629. r=vlad 2008-12-06 22:32:24 -08:00
Bobby Holley
98c991946c Disable fatal LCMS errors earlier in thebes - bug 458164. r=joe 2008-12-06 22:24:25 -08:00
Michael Ventnor
e758b80cd9 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange
0a9202e6cc 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
f88fbd52e6 b=462798 fixage: add NS_VISIBILITY_DEFAULT to cairo_ft_font_options_substitute declaration 2008-12-06 18:06:42 +13:00
Karl Tomlinson
f483d9cdde 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
f091bb1b37 b=458169 @font-face { src: url() } for Linux. r=roc 2008-12-06 12:19:27 +13:00
Karl Tomlinson
d6b71782c0 b=467874 only destroy FT_Faces created by cairo. r=vlad 2008-12-06 12:08:45 +13:00
Jeff Muizelaar
c7a141b60d Bug 461202 - Turn on SSE2 pixman optimizations; on MsVC only; (no review) 2008-12-05 07:15:28 +01:00
Zack Weinberg
d6ddf74552 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
c95d61afc0 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
f7acc6c08f 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
3bd692715b Bug 461860 - windows mobile fixes in gfx r+sr=vlad 2008-12-03 08:42:03 -05:00
Robert O'Callahan
38bbc69620 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
ae307da934 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
fceb922a63 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
b72f6882fb 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
1157f3f93b 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
c2e3b4b5f9 [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
3e4f690e27 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
309088efe4 Backed out changeset 0586ee185c87 (bug 460629) to investigate possible performance regression (bug 467102) 2008-11-28 11:02:01 -08:00
Bobby Holley
020c84f8c9 Bug 460629 - Bogus ICC profile detection for LCMS.r=vlad,a191=beltzner 2008-11-28 10:17:32 +01:00
Peter Weilbacher
07829fa6d0 [OS/2] cairo-os2 build fix that was already applied in upstream cairo 2008-11-28 00:06:22 +01:00
Robert O'Callahan
e2d6438f48 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
0d24013534 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
b39d47dffa [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
962a68d018 [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
50bccbc11f [OS/2] remove two unused, already commented, code lines from gfxOS2Platform.cpp 2008-11-26 20:12:52 +01:00
Jonathan Kew
c47d6406d1 fix uninitialized variable causing incorrect fallback font selection (bug 451426) r=roc sr=roc 2008-11-26 10:13:02 -08:00
Brad Lassey
ea8dd114d1 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
6dd228bfdc 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
e1fd81e8d3 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
4c4b3cbb89 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
a2df934c69 [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
a89bc58087 [OS/2] Bug 465691: fix debug output to compile again (CLOSED TREE) 2008-11-24 20:18:15 +01:00
Jeff Muizelaar
679549b8b6 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
57d028fd89 b=463872; fix qt backend cairo build; r=me 2008-11-09 15:43:39 -08:00
Vladimir Vukicevic
874c9f49d5 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
6450cdc188 b=424333; BadAlloc under X when viewing extremely large images; r=joe 2008-11-09 15:39:41 -08:00
Karl Tomlinson
e0924b37f5 b=449356 remove accidentally added code 2008-11-07 15:37:52 +13:00
Karl Tomlinson
18dae13b06 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 15:21:34 +13:00
Robert O'Callahan
b781aa0ad5 Bug 456330. Fix translation to account for top/left padding. r=vlad 2008-11-07 13:56:57 +13:00
Karl Tomlinson
0860a21e5b backout b=449356 9621d305de92 2008-11-07 10:49:14 +13:00
Karl Tomlinson
8dfecc605a b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 09:39:06 +13:00
Simon Montagu
785ffb9b41 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
2d70839dd0 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
01a74357fd 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
e5a0f4c565 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Karl Tomlinson
6c652e85ab backout b=449356 e8665c7cfdf2 and 20113c4780d2 2008-11-06 12:26:22 +13:00
Karl Tomlinson
58ea9f42df b=449356 remove stray "static" keyword 2008-11-06 11:48:20 +13:00
Karl Tomlinson
6ac7784544 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-06 11:14:02 +13:00
Robert O'Callahan
0d380f02a0 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Doug Turner
d3da9fb1a3 WinCE only. Adding a -D to our define list on windows mobile. r=vlad 2008-11-04 12:37:27 -08:00
Doug Turner
24883a0c29 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
76f1b81b27 Bug 462911 - support NS_PRINTING in gfx / cairo. r=vlad 2008-11-04 07:43:45 -08:00
Phil Ringnalda
bbe7e1d08a 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
f780ec066b Bug 459708 - Remove -moz-appearance values "radio-small" and "checkbox-small", r=roc 2008-11-03 14:12:59 +01:00
Simon Montagu
18abf89bcd 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
1693b53c02 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
f37b60578a Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
Karl Tomlinson
9283404bc5 b=455647 garbage Indic characters on parts of some English webpages. r=pavlov 2008-10-29 10:24:06 -07:00
Reed Loden
2e45302098 Possible fix for bustage caused by bug 422637. 2008-10-24 01:43:19 -05:00
Alfred Kayser
09825d7f45 Bug 422637 - "Merge nsColorNames into nsColor to have less public functions and less code" [r=vlad sr=roc] 2008-10-24 01:28:29 -05:00
Arpad Borsos
3585c944f1 Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan] 2008-10-21 01:50:05 -05:00
John Daggett
30dd369e94 Bug 458256. Use LoadLibraryW instead of LoadLibrary (patch by DougT). r+sr=vlad 2008-10-18 05:14:01 +02:00
John Daggett
24fa1f8fdc Bug 441473. Fix VC 7.1 bustage. r=jdaggett, sr=roc 2008-10-15 18:21:17 +09:00
Robert O'Callahan
7a386793fc Bug 457194. Be careful when we do NS_ceil for font max-ascent/max-descent; we don't want a number that's an integer plus epsilon to round up to the next integer. r=vlad 2008-10-13 14:08:27 +13:00
Peter Weilbacher
b8af3f6c3f [OS/2] Bug 454956: fix OS/2 build break with GCC 3.4.6 or newer, part 2 2008-10-11 14:49:03 +03:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Vladimir Vukicevic
3b27944210 b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart 2008-10-09 14:49:15 -07:00
Vladimir Vukicevic
209719af58 b=434602; win32 create_similar should fall back to dib to avoid exausting vram; r=stuart 2008-10-09 14:49:15 -07:00
Vladimir Vukicevic
7ee79e0b94 b=308917, fix quartz SurfacePatternDrawFunc; r=joe 2008-10-09 14:49:15 -07:00
John Daggett
bbc62f3b9d Bug 458113. Fix syntax error that broke OS/2 build. r+wuno 2008-10-09 14:52:00 +09:00
blassey@mozilla.com
34d2ae88fc Bug 458946 - Reduce narrow windows API calls in cairo win32 surface. r=vlad 2008-10-08 20:41:11 -07:00
Oleg Romashin
de82ac8389 Bug 458360 - Qt build breaks after implementation of user font set object. r=vladimir. 2008-10-08 09:06:09 -05:00
Dave Townsend
f8db39fe9b Backed out changeset a9838a973cdd from bug 457194 due to failing mochitest 2008-10-01 16:40:34 +01:00
John Daggett
3865d34ef7 Bug 457194. Make sure Ahem font completely covers background. r=jdaggett, sr=vlad 2008-10-01 13:17:39 +09:00
John Daggett
b38e8d3c90 Bug 441473. Adding new files. 2008-10-01 12:04:10 +09:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Arpad Borsos
3da6ac3d8d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Karl Tomlinson
b0bf792077 b=385263 make line heights integer r=roc 2008-09-27 12:22:20 +12:00
Karl Tomlinson
bd1cf53da5 b=385263 a PangoFcFont using tree cairo r=roc 2008-09-27 12:21:55 +12:00
Doug Turner
ae8db696dd Bug 456644 - WinCE gfx cairo _cairo_win32_tmpfile does not compile. r=vlad 2008-09-26 15:30:51 -07:00
Karl Tomlinson
5a7b874dec merge backout 23e255271851 b=385263 2008-09-26 20:01:15 +12:00
Karl Tomlinson
952ca1e5f6 backout 23e255271851 b=385263 2008-09-26 20:00:50 +12:00
John Daggett
a3e37412cf Bug 436663. Work around ATSUI crasher caused by long Hebrew sequence. r=roc, sr=vlad 2008-09-26 16:51:53 +09:00
Karl Tomlinson
3ff29e984e b=385263 a PangoFcFont using tree cairo r=roc 2008-09-26 17:29:55 +12:00
Karl Tomlinson
643323a858 b=456545 added missing header gfxFontconfigUtils.h 2008-09-26 17:14:51 +12:00