Commit Graph

825 Commits

Author SHA1 Message Date
Mats Palmgren
b01b0154dd Fix bug 441360. r+sr=vlad 2008-07-08 02:00:22 +02:00
Mats Palmgren
5605db70df Fix potential memory leak. b=441454 r+sr=vlad 2008-07-08 01:49:39 +02:00
Mats Palmgren
eeaac22dff Backout crash tests for bug 409006 since it caused other crash tests to fail loading (403296-1.xhtml). 2008-07-03 16:00:32 +02:00
Mats Palmgren
7dff52cbb1 Crash tests for bug 409006. 2008-07-03 14:57:20 +02:00
Mats Palmgren
3856a18945 Backout crash tests for bug 409006. 2008-07-02 15:50:53 +02:00
Mats Palmgren
ccdf3aa2b1 Crash test for bug 409006. 2008-07-02 13:13:15 +02:00
L. David Baron
a05e0bbe1c Merge backout of 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:26 -07:00
L. David Baron
df1b22e4c5 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
John Daggett
1cb2f4ae57 Bug 423405. gfxPlatformMac.h causes compile to fail GCC4.2 on Mac OS X. r=jdaggett, sr=vlad 2008-07-02 13:19:37 +09:00
Zack Weinberg
74a4ba6923 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
John Daggett
c89140eb33 Bug 433997. Catch null ptrs returned by CGFontGetHMetrics in cairo mac font code to prevent top crasher. r+sr=vlad 2008-07-01 09:02:21 +09:00
Simon Montagu
661c1e5933 Set glyph info for low surrogates in Pango. Bug 439910, r+sr=roc 2008-06-18 23:14:51 -07:00
Ginn Chen
d94506c0a7 Bug 435739 Poor performance of Firefox 3 with no X RENDER extension
r=vladimir
2008-06-11 18:29:21 +08:00
Robert O'Callahan
ff76cbbd22 Add Width/Height/GetDataSize getters to gfxImageSurface. r=vlad 2008-06-11 11:46:32 +12:00
Robert O'Callahan
a395b05359 Add 2-axis Scale, operator-, and Contains to gfxRect. r=vlad 2008-06-11 11:43:51 +12:00
Robert O'Callahan
170eb005a5 Make gfxImageSurface clear allocated surface data. r=vlad 2008-06-11 11:05:43 +12:00
pavlov@pavlov.net
1d63f66c30 bug 434401. crash due to not finding a font on startup in some cases. r=karlt a=beltzner 2008-05-28 16:55:40 -07:00
mozilla@weilbacher.org
350d31dbcd [OS/2] Bug 432575: add options for font hinting and antialiasing to get approximately equal display than on branch. (Oops, don't want to get the debugging output by default!) 2008-05-28 05:55:36 -07:00
mozilla@weilbacher.org
e80bce4bc0 [OS/2] Bug 432575: add options for font hinting and antialiasing to get approximately equal display than on branch. 2008-05-28 05:38:09 -07:00
gavin@gavinsharp.com
96617b5a7b Followup comment fix for bug 434157 2008-05-27 11:22:38 -07:00
gavin@gavinsharp.com
005df97b32 Bug 434157: Font scaling of Vista doesn't work as good with RC1 than it did with Betas, patch by roc@ocallahan.org, r=vlad, a=beltzner 2008-05-27 10:57:04 -07:00
gavin@gavinsharp.com
77623d122c Bug 432071: Type 1 fonts don't print correctly, patch by Adrian Johnson <ajohnson@redneon.com>, r=stuart, a=schrep 2008-05-08 09:48:15 -07:00
gavin@gavinsharp.com
52f36f8928 Bug 432062: Windows vector font rendering is broken, patch by roc@ocallahan.org, r=stuart, a=schrep 2008-05-08 08:38:22 -07:00
reed@reedloden.com
36791e9cf4 Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -07:00
pavlov@pavlov.net
844a9ac9ed bug 432065. deal with multiple fonts with the same name. r=roc a=schrep 2008-05-07 13:29:48 -07:00
reed@reedloden.com
9b09692af7 Bug 223442 - "consider moving mac-specific files in gfx/public to a mac directory" (Remove nsWatchTask.h) [p=reg@openpave.org (Jeremy Lea) r+sr=biesi a1.9=beltzner] 2008-05-07 03:16:27 -07:00
crowder@fiverocks.com
a267b3970f Bug 431413: Crash in gfxWindowsFontGroup::InitTextRunUniscribe, r=pavlov, sr=roc, a=mtschrep 2008-05-03 21:25:13 -07:00
jdaggett@mozilla.com
9a2ab9c8d7 Bug 418479. Allow antialiased text rendering to be disabled for small text sizes via a pref. r+sr=vlad, a=damons 2008-05-01 02:07:17 -07:00
vladimir@pobox.com
89790e741b b=431391; printing pages with type1 fonts on win32 prints garbage; patch from upstream; r+a=me 2008-04-30 09:45:24 -07:00
roc+@cs.cmu.edu
3469d1a6c7 Bug 427411. Handle bogus fonts being returned by Windows due to the font catalog being stale or out of GDI objects. r=pavlov,a=damon 2008-04-29 20:37:30 -07:00
roc+@cs.cmu.edu
0ad8725993 Backing out bug 427411 2008-04-28 17:28:22 -07:00
roc+@cs.cmu.edu
b243289a8d Bug 427411. Handle GetTextMetrics failing when we create a gfxWindowsFont (can happen if we're out of GDI resources or Windows' font catalog is stale). r=pavlov,a=damon 2008-04-28 15:30:22 -07:00
vladimir@pobox.com
4b5e5cb7f8 b=430979, CGFont leaks -- patch from upstream; r=me, a=damon 2008-04-28 14:27:35 -07:00
vladimir@pobox.com
916af28b69 b=429915, color mismatch with 1x1 images (SetColor API broken) ; r=stuart, a=damon 2008-04-28 14:27:05 -07:00
caillon@redhat.com
15b26ea0b6 Bug 384090 - [GTK+] incorrect logical resolution for converting font sizes in pt, etc. Get the actual resolution used by GTK+/X instead of a best-guess based on screen dimensions r=Behdad Esfahbod, Owen Taylor sr=Robert O'Callahan a=Damon Sicore 2008-04-28 13:47:54 -07:00
vladimir@pobox.com
cf8ffd14c5 b=429678, crash with failed printing of outset border with transparency; patch from upstream; a=me 2008-04-25 09:35:24 -07:00
Olli.Pettay@helsinki.fi
2e5ae015ff backout Bug 430465 2008-04-25 04:31:13 -07:00
roc+@cs.cmu.edu
914869aff7 Bug 430465. Don't round source coordinates in the tiled-image-drawing path. r=vlad,a=beltzner 2008-04-25 02:40:04 -07:00
jruderman@hmc.edu
3f9bb54348 Adding a crashtest 2008-04-22 21:09:02 -07:00
roc+@cs.cmu.edu
2c14fc8681 Bug 429899 crashtest 2008-04-22 19:08:20 -07:00
roc+@cs.cmu.edu
75aa8f57a7 Bug 429899. Always treat the first character of a ligature as the start of a cluster when dividing ligature width among clusters. r+a=vlad 2008-04-22 19:06:22 -07:00
jdaggett@mozilla.com
744f5db6d1 Bug 428458. Fix fixed-pitch font handling for mac/win. r+sr=roc, a=vlad 2008-04-18 02:11:47 -07:00
jdaggett@mozilla.com
e05963a7da Bug 427602. Switch use of TArray<nsAutoString> to TArray<nsString> within gfx code. r=stuart, a=schrep (reland) 2008-04-17 21:32:18 -07:00
gavin@gavinsharp.com
4f1e14850e Bug 405684: checking incorrect character in UniscribeItem::ComputeRanges, patch by pavlov@pavlov.net, r=vlad, a=beltzner 2008-04-17 18:46:47 -07:00
roc+@cs.cmu.edu
659583c0d8 Backing out 427602 to try to fix failures 2008-04-17 04:18:58 -07:00
jdaggett@mozilla.com
729e5ee9c2 Bug 427602. Switch use of TArray<nsAutoString> to TArray<nsString> within gfx code. r=stuart, a=schrep 2008-04-17 01:30:15 -07:00
roc+@cs.cmu.edu
153c4bfed0 Bug 409227. _cairo_clip_init_deep_copy should pass 0,0 as the starting coordinates when it clones the clip surface, because we just want an exact copy of the surface. r=vlad,a=beltzner 2008-04-17 01:22:31 -07:00
vladimir@pobox.com
253308a219 b=428563, minor upgrade to cairo 1.6.4, really this time; r=me,a=beltzner 2008-04-16 05:44:28 -07:00
leon.sha@sun.com
767c62ace7 Bug 428903 There are debug information printed in release build. (nsThebesDeviceContext.cpp). vladimir: review+ vladimir: superreview+ beltzner: approval1.9+ 2008-04-15 20:27:03 -07:00
karlt+@karlt.net
a47f75781a Ensure aveCharWidth is wide enough for numerals. b=410405 r=pavlov a1.9=schrep 2008-04-15 18:03:51 -07:00
karlt+@karlt.net
f1354bea5a Use ceil instead of round in GetAveCharWidth and GetSpaceWidth for consistency with GetMaxAdvance. b=428458 r=pavlov sr=roc a1.9=damons 2008-04-15 16:34:06 -07:00
pavlov@pavlov.net
7c477e8860 bug 424386. return the correct depth rather than a hardcoded 24. r/a=vlad 2008-04-15 07:16:29 -07:00
roc+@cs.cmu.edu
4f03ff6841 Bug 427730. Make text for ATSUI layout end in ' ' or ' .' instead of '.', to ensure the last character isn't treated as the start of a kerning pair. r=jdaggett,sr=vlad,a=beltzner 2008-04-14 18:48:19 -07:00
masayuki@d-toybox.com
0767329450 Bug 426616 Acid2 chin is 1px too tall in FF3b5 r=pavlov, sr=roc, a1.9=beltzner 2008-04-12 01:54:18 -07:00
vladimir@pobox.com
caa7ec4ebe backout? 2008-04-11 13:08:04 -07:00
vladimir@pobox.com
e3f40cc890 forgot to update README file 2008-04-11 12:45:28 -07:00
vladimir@pobox.com
8339071796 b=428563, Upgrade Cairo to 1.6.2; r=me,a=beltzer 2008-04-11 12:38:41 -07:00
reed@reedloden.com
1f95f2294c Bug 427985 - "Mozilla stops repainting in this testcase after a while" (leak fix) [p=pavlov@pavlov.net (Stuart Parmenter) r=vlad b1.9+a1.9=damons] 2008-04-11 00:01:14 -07:00
karlt+@karlt.net
e5239b111e Use a PangoFontMap for pango_itemize that provides the same primary font from document language rather than adjacent characters b=416725, r+sr+a1.9=pavlov 2008-04-08 23:55:49 -07:00
karlt+@karlt.net
036bda2117 Backing out b=410405 to see if it fixes test failures. 2008-04-08 19:29:44 -07:00
karlt+@karlt.net
a550baeaa3 Ensure aveCharWidth is wide enough for numerals. b=410405, r=pavlov. 2008-04-08 17:02:41 -07:00
vladimir@pobox.com
7e9ef5c071 b=419715, minor cairo upgrade to un-roll-back regressions and add fixes from upstream ; r=me 2008-04-08 13:11:21 -07:00
longsonr@gmail.com
51b6a3dc2f Bug 425662 - Scaled SVG content can get the wrong metrics and poison the cache. r+sr=roc,a1.9=beltzner 2008-04-08 06:12:04 -07:00
jdaggett@mozilla.com
d0a6c2dd33 Bug 423571. Short circuit system-wide font fallback for U+FFFD on Mac. r+sr=vlad 2008-04-08 01:46:15 -07:00
pavlov@pavlov.net
8f4d2f8df6 bug 427084. Use GetGlyphIndiciesW rather than ScriptGetCMap for type1 fonts. r=vlad 2008-04-08 00:32:38 -07:00
joshmoz@gmail.com
9e7302e02d back out 425662 for longsonr because it might have caused tbox orange 2008-04-07 20:53:12 -07:00
dholbert@cs.stanford.edu
d4e585ef8e Bug 389949, first patch: Use POINTS_PER_INCH_FLOAT in place of magic number '72.0f'. Basically cosmetic -- shouldn't change our behavior at all. r+sr=vlad, a=blocking1.9+ 2008-04-07 17:27:10 -07:00
longsonr@gmail.com
a0a20348fe Bug 425662 - Scaled SVG content can get the wrong font size and poison the font cache. r+sr=roc,a1.9=beltzner 2008-04-07 16:18:12 -07:00
vladimir@pobox.com
50e6dca1da roll back cairo commit c1062bf to fix assertion failures 2008-04-07 02:17:14 -07:00
vladimir@pobox.com
d7ddef3d99 dummy commit to kick tinderbox 2008-04-06 23:34:48 -07:00
vladimir@pobox.com
b768ba704e b=419715, upgrade cairo to 1.6 or as-close-as-possible -- add patch to fix cairo bustage ; r=me 2008-04-06 22:09:53 -07:00
vladimir@pobox.com
7439270a65 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade-more.patch ; r=me 2008-04-06 22:09:44 -07:00
vladimir@pobox.com
06c698810e b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 22:08:30 -07:00
vladimir@pobox.com
29dafd8255 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch pixman-upgrade.patch ; r=me 2008-04-06 22:07:38 -07:00
vladimir@pobox.com
3f56db9279 backout [mq]: cairo-rollback.patch 2008-04-06 16:34:08 -07:00
vladimir@pobox.com
15fb35ff66 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade-more.patch ; r=me 2008-04-06 15:14:31 -07:00
vladimir@pobox.com
2d82be0e34 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 15:14:09 -07:00
vladimir@pobox.com
66ca70eb2d b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch pixman-upgrade.patch ; r=me 2008-04-06 15:13:57 -07:00
roc+@cs.cmu.edu
7520c2dc11 Crashtest for bug 423270. 2008-04-06 03:14:31 -07:00
roc+@cs.cmu.edu
ed465e43d2 Bug 423270. Make gfxTextRunWordCache handle cases where a space and another character combine to form a ligature. r=vlad 2008-04-06 03:12:21 -07:00
pavlov@pavlov.net
3272e891cd bug 425336. check for S_OK explicitly rather than != S_FALSE. r=vlad 2008-04-04 00:39:58 -07:00
smontagu@smontagu.org
bd00284645 Bug 378105. Update default fonts for Indic scripts. r=pavlov, ui-review+approval1.9=beltzner 2008-04-03 21:23:18 -07:00
pavlov@pavlov.net
7ec0340036 bug 425336. fix problems with bitmap and vector fonts. r=vlad 2008-04-03 19:21:06 -07:00
jdaggett@mozilla.com
2c8eb2e601 Bug 419744. Load font cmap info via a background task. r+sr=stuart 2008-04-03 19:01:22 -07:00
reed@reedloden.com
7d5f859f79 Bustage fix for bug 413787. 2008-04-01 22:21:01 -07:00
reed@reedloden.com
2372c88cc4 Bustage fix for bug 413787. 2008-04-01 21:09:08 -07:00
reed@reedloden.com
f4bcba49f5 Bug 413787 - "NSToIntRound, NSToCoordRound code generation" [p=mmoy@yahoo.com (Michael Moy) r+sr=roc a1.9=schrep] 2008-04-01 20:47:07 -07:00
roc+@cs.cmu.edu
6f195369f9 Bug 424873. Make GetWidgetOverflow take the new frame size as input instead of using the possibly-stale old frame size. r+sr=dbaron 2008-04-01 16:34:20 -07:00
reed@reedloden.com
28beb983ed Bug 394103 - "All elements are HUGE (when doing dpi autodetect?)" (scale for 192+ dpi) [p=asac@jwsdot.com (Alexander Sack) r+sr=roc a1.9=schrep] 2008-04-01 01:41:21 -07:00
roc+@cs.cmu.edu
14c8d05caf Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad 2008-03-31 02:40:53 -07:00
mozilla@weilbacher.org
3ba4441f13 Bug 418104: Remove non-cairo Windows gfx code from the tree, removal of all obsolete files, r=alfredkayser, sr=pavlov, a=beltzner 2008-03-30 03:12:50 -07:00
masayuki@d-toybox.com
5891dcdd07 Bug 425488 Underlines are too far from text (e.g. Gmail links) r+b1.9=stuart 2008-03-29 15:27:25 -07:00
masayuki@d-toybox.com
3ea5191188 Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner 2008-03-29 14:25:15 -07:00
reed@reedloden.com
601e529c06 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure. 2008-03-28 02:32:03 -07:00
reed@reedloden.com
7ffca204c7 Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+] 2008-03-28 01:40:02 -07:00
vladimir@pobox.com
806f7572fd b=425593, print failure with 'some printing functionality not implemented' message (it\'s NS_OK, really!); r=stuart 2008-03-28 00:13:37 -07:00
pavlov@pavlov.net
987abc1e3e bug 424945. reduce GDI object use by using the selected font weight and rounded font size (when no size adjust) for doing cache lookups. r=vlad 2008-03-27 16:30:43 -07:00
jruderman@hmc.edu
daae248002 Add a crashtest 2008-03-26 19:40:46 -07:00
vladimir@pobox.com
c3bf671567 b=409953; deref of null pointer on cancel of print-to-file (ignoring errors during printing is bad, mmmkay?); r=stuart 2008-03-26 18:21:46 -07:00
jruderman@hmc.edu
2110063ad2 Adding a crashtest. 2008-03-26 18:20:59 -07:00