Commit Graph

5870 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
fef47b9b61 Bug 385423. Force ZWSP, PSEP and LSEP to be treated as zero-width invisible and not passed into platform textrun creation. Avoids potential bugs and forces consistent handling. r=vlad 2007-07-04 20:07:25 -07:00
roc+@cs.cmu.edu
e58660ef2b Bug 386804. Make 'cache not empty' assertion into a warning. r=vlad 2007-07-04 20:05:06 -07:00
vladimir@pobox.com
cd8d756678 b=361695, [mac] bidi mirroring proken with some fonts, r=vladimir, patch from jdaggett@mozilla.com 2007-07-04 02:19:27 -07:00
roc+@cs.cmu.edu
b2190168cd Fixing bustage 2007-07-03 21:07:01 -07:00
roc+@cs.cmu.edu
33428c5bf6 Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu 2007-07-03 20:39:01 -07:00
roc+@cs.cmu.edu
fb292fb269 Bug 386211. Turn 'fonts still alive' assertion into a warning. r=vlad 2007-07-03 20:24:04 -07:00
longsonr@gmail.com
fc778c5615 Bug 385228 - ASSERTION: Surface size too large (would overflow) - change asserts to warnings. r+sr=vladimir 2007-07-03 02:16:50 -07:00
longsonr@gmail.com
424a4061f8 Bug 383872 - invalid image height assertion with svg foreignObject element, background image, height: 0.5px. r=vladimir,sr=roc 2007-07-03 01:53:03 -07:00
benjamin@smedbergs.us
75dc0cfd4c Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
roc+@cs.cmu.edu
6ebd93058f Bug 386122. Make textrun storage metrics only defined for DEBUG_roc. 2007-07-01 18:24:56 -07:00
roc+@cs.cmu.edu
8e91fac244 Bug 9101. Fix BreakAndMeasureText to save/restore hyphenation state correctly. r=pavlov 2007-07-01 18:12:45 -07:00
mozilla@weilbacher.org
296a7940d1 [OS/2] Fix handling of chars >127 in MakeTextRun and remove unused function arguments.
Part of work on Bug 381333 (just as my previous checkin).
2007-06-30 15:19:14 -07:00
mozilla@weilbacher.org
4ee72ec0b6 [OS/2] Get gfxOS2Font::GetMetrics() in order
- metrics.y_ppem should not get scaled
- if the space width is too small it's the fault of the font, don't scale it
- add mimimum comment for the function
- add some more debugging output, we'll probably need it again sometime
2007-06-30 13:20:51 -07:00
vladimir@pobox.com
27a42cc105 backing out but 383960, upgrade to cairo 1.4.10, due to bug 384035 (again) 2007-06-30 03:45:11 -07:00
vladimir@pobox.com
e6e29267c5 b=383960: Upgrade cairo to 1.4.10: moz cairo: nonfatal-assertions.patch 2007-06-30 00:50:54 -07:00
vladimir@pobox.com
e708567179 b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-no-printer-bitblt.patch 2007-06-30 00:50:09 -07:00
vladimir@pobox.com
e01ea9a349 b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-logical-font-scale.patch 2007-06-30 00:49:36 -07:00
vladimir@pobox.com
4be2e7ed2e b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-scaled-font-size.patch 2007-06-30 00:48:59 -07:00
vladimir@pobox.com
df1af9e6a0 b=383960: Upgrade cairo to 1.4.10: moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-06-30 00:48:18 -07:00
vladimir@pobox.com
8a87c4af84 b=383960: Upgrade cairo to 1.4.10: moz cairo: fbcompose-bandaid.patch 2007-06-30 00:47:44 -07:00
vladimir@pobox.com
7d82c1c6ba b=383960: Upgrade cairo to 1.4.10: moz cairo: max-font-size.patch 2007-06-30 00:46:18 -07:00
vladimir@pobox.com
7a982ad66e b=383960: Upgrade cairo to 1.4.10: Cairo 1.4.10 2007-06-30 00:45:16 -07:00
sharparrow1@yahoo.com
c738ea2df1 Update UUIDs 2007-06-27 15:15:13 -07:00
sharparrow1@yahoo.com
fc25e4dff6 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
sharparrow1@yahoo.com
f0d19427b4 Bug 385937: Remove nsIBlender. (forgot to remove this) 2007-06-27 13:13:37 -07:00
sharparrow1@yahoo.com
4e5da46ad5 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
sharparrow1@yahoo.com
c99421db28 Bug 382458: Fix rounding problems in Windows theme rendering. r+sr=roc. 2007-06-27 09:42:37 -07:00
roc+@cs.cmu.edu
ee678ee439 Bug 384836. Relanding fix to pass around gfxContexts a bit more instead of hanging on to one in nsTransformedTextRun. r=smontagu,pavlov 2007-06-26 21:22:21 -07:00
pavlov@pavlov.net
d95b7468f0 removing printf 2007-06-26 17:52:41 -07:00
pavlov@pavlov.net
cab0f40712 make sure the length is >= the data we're reading before we read it. hoping to fix 382713. r=roc 2007-06-26 17:34:52 -07:00
sharparrow1@yahoo.com
e8a1d4364b Bug 385923: Remove unused code from nsRenderingContextImpl. rs=pavlov. 2007-06-26 17:24:56 -07:00
dbaron@dbaron.org
d0ed87d4da Back out bug 384836 to diagnose Tp/Tp2 regression bug 385957. 2007-06-26 15:16:34 -07:00
benjamin@smedbergs.us
5ebfce3c70 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us
bd5749568a Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
roc+@cs.cmu.edu
4e19947cc9 Bug 384836. Avoid using a stale gfxContext, by not holding onto one in nsTransformedTextRun, passing in a gfxContext when required instead. r=pavlov,smontagu 2007-06-25 21:25:00 -07:00
pavlov@pavlov.net
2af54874be fixing symbol fonts, bitmap fonts and a crash. bugs 385793, 324706, 385795. r=vlad 2007-06-25 14:51:15 -07:00
benjamin@smedbergs.us
035e643c90 Revert all of bug 383167 changes because they're not enough... going to try again later. 2007-06-25 11:40:57 -07:00
benjamin@smedbergs.us
97afb0c802 Bug 383167 - Need buildid in an external file, r=luser sr=jst 2007-06-25 08:25:59 -07:00
mozilla@weilbacher.org
771982213b [OS/2] Fix stupidities about scales when computing font metrics, part of work on Bug 381333 2007-06-24 04:10:03 -07:00
mozilla@weilbacher.org
cba65ecc3d [OS/2] Improve weight matching when creating cairo font, part of work on Bug 381333 2007-06-24 03:00:50 -07:00
roc+@cs.cmu.edu
130e33c3ea Bug 385123. Don't insert spaces after holes while we build a textrun. r=vlad 2007-06-20 12:49:33 -07:00
philringnalda@gmail.com
4a0f8f84bf Bug 384840 - gfxXlibNativeRenderer::DRAW_SUPPORTS_NONDEFAULT_VISUAL should be distinct from DRAW_SUPPORTS_CLIP_LIST, patch by Karl Tomlinson <mozbugz@karlt.net>, r+sr=roc 2007-06-18 21:19:01 -07:00
mats.palmgren@bredband.net
5b1d81411b Don't return values outside the range for PangoWeight (100..900). b=335543 r+sr=vladimir 2007-06-18 20:08:29 -07:00
bzbarsky@mit.edu
e5459dca87 Initialize the thing we're going to test to see whether we
succeeded... otherwise we'll be testing random quantities.  Bug 384264, r+sr=roc
2007-06-18 07:58:29 -07:00
kherron@fmailbox.com
d53765aabc Bug 383853 - Leak in nsThebesDeviceContext when printing. r+sr=roc. 2007-06-16 12:33:50 -07:00
mats.palmgren@bredband.net
672783b34b Bye bye non-cairo GTK gfx. b=383889 r+sr=vladimir 2007-06-15 19:13:52 -07:00
pavlov@pavlov.net
dce0d1d7de bug 342466. make font fallback deterministic. r=vlad 2007-06-15 14:48:59 -07:00
mozilla@weilbacher.org
8af5b1515a [OS/2] Bug 371505: check in preliminary workarounds for Thebes repaint problems based on ideas from Andy Willis 2007-06-14 13:38:55 -07:00
pavlov@pavlov.net
056b16ad58 minor cleanup to make the code more readable. bug 384363. r=vlad 2007-06-13 16:28:25 -07:00
roc+@cs.cmu.edu
702c09b987 Bug 382741. Updating cairo patch list. 2007-06-13 15:49:19 -07:00
roc+@cs.cmu.edu
0a8d95d074 Bug 382741. Make cairo asserts non-fatal. May fix tinderbox issues with crashing with new-textframe. r=vlad 2007-06-13 15:10:23 -07:00
mats.palmgren@bredband.net
3f7e3e99ea Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
joshmoz@gmail.com
d0256b559d use a smaller button font size by default on Mac OS X. b=262191 r/sr=roc 2007-06-12 14:51:10 -07:00
roc+@cs.cmu.edu
ef3b336b06 Bug 384100. Implement word-based textrun cache. r=vlad 2007-06-12 13:56:04 -07:00
pavlov@pavlov.net
d716f72508 use the right length when iterating over the string. bug 384094. r=vlad 2007-06-12 11:54:41 -07:00
pavlov@pavlov.net
cdc3a5f15e Force us to select the same font if we're around joiners. bug 384096. r=vlad 2007-06-12 11:52:32 -07:00
pavlov@pavlov.net
1e671a38e9 initing uninited variables. r=me 2007-06-12 01:39:18 -07:00
leon.sha@sun.com
8460024ccd Bug 342946. The font of the menu will not change with ths gnome application font.Patch by leon.sha@sun.com.roc: review+roc: superreview+ 2007-06-11 22:29:20 -07:00
gavin@gavinsharp.com
797c9d1bd2 Bustage fix: Vlad apparently forgot to back out the changes to this file 2007-06-10 21:39:03 -07:00
vladimir@pobox.com
f669e74548 backing out cairo 1.4.8 due to qm-rhel02 stupidity 2007-06-10 20:53:49 -07:00
vladimir@pobox.com
00c026bd8a more linux reftest debugging; force a cairo crash on error 2007-06-10 20:17:24 -07:00
pavlov@pavlov.net
e47f1946a2 build bustage fix. 2007-06-10 18:45:41 -07:00
pavlov@pavlov.net
098946cd3e bug 332649. improved windows font selection. r=vlad sr=roc 2007-06-10 18:31:27 -07:00
vladimir@pobox.com
5ba8a26ca3 b=383960, Upgrade cairo to 1.4.8, r=me -- cairo 1.4.8: missed removing cairo-font.c 2007-06-10 17:09:00 -07:00
vladimir@pobox.com
a52dab8bae b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: avoid-region-extract.patch 2007-06-10 17:08:00 -07:00
vladimir@pobox.com
a979824423 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: win32-no-printer-bitblt.patch 2007-06-10 17:07:36 -07:00
vladimir@pobox.com
7e19eeb82a b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: misc fixes 2007-06-10 17:07:13 -07:00
vladimir@pobox.com
77748b7005 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: win32-scaled-font-size.patch 2007-06-10 17:06:47 -07:00
vladimir@pobox.com
a0123fabd4 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-06-10 17:06:24 -07:00
vladimir@pobox.com
ffe0973543 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: fbcompose-bandaid.patch 2007-06-10 17:05:59 -07:00
vladimir@pobox.com
44a7a8cc53 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: max-font-size.patch 2007-06-10 17:02:13 -07:00
vladimir@pobox.com
1f24b50ccb b=383960, Upgrade cairo to 1.4.8, r=me -- cairo 1.4.8 2007-06-10 17:01:29 -07:00
roc+@cs.cmu.edu
4921ef9a2b Bug 383548. Add MOZ_COUNT_CTOR/DTOR to help track gfxTextRun memory usage. r=pavlov 2007-06-10 16:07:29 -07:00
roc+@cs.cmu.edu
f9eb8f4156 Bug 383548. Assert that textrun cache is empty before it is destroyed. r=pavlov 2007-06-10 16:06:03 -07:00
roc+@cs.cmu.edu
5b83f09f87 Bug 383547. Convert font height, ascent, descent and max-advance to integers conservatively. r=pavlov 2007-06-10 16:04:27 -07:00
mozilla@weilbacher.org
a614a85c71 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc 2007-06-10 15:13:08 -07:00
mats.palmgren@bredband.net
57b540f11a Fix GCC build error. b=363592 r=mkaply sr=benjamin 2007-06-08 05:05:29 -07:00
mats.palmgren@bredband.net
806f43fe69 Clamp final font size (after font-size-adjust) to a reasonable value. b=383473 r+sr=vladimir 2007-06-08 01:22:03 -07:00
masayuki@d-toybox.com
a560f39e3e Bug 374251 r=vlad 2007-06-07 12:14:07 -07:00
roc+@cs.cmu.edu
52b25218e7 Bug 381654. Initialize PangoAnalysis fields robustly. patch by Karl Tomlinson, r+sr=roc 2007-06-06 20:29:34 -07:00
longsonr@gmail.com
ef769fe157 Bug 379284 - Support font-weight='lighter' on Windows. r=vladimir,sr=roc 2007-06-05 02:29:11 -07:00
joshmoz@gmail.com
969af74f0b use a smaller system font for eSystemFont_List on Mac OS X. b=262191 r=smorgan sr=roc 2007-06-02 15:17:23 -07:00
martijn.martijn@gmail.com
60a1f54423 Fix mingw build issue from Bug 377950 - Need to get real cmaps from fonts, r+sr=pavlov 2007-06-02 03:12:40 -07:00
roc+@cs.cmu.edu
aceb5fce79 Fixing bustage. 2007-05-30 22:21:56 -07:00
roc+@cs.cmu.edu
21a9827073 Bug 382490. Fix trimming in BreakAndMeasureText so when we back up to a break opportunity, we back up the trimming state too. r=pavlov 2007-05-30 22:04:24 -07:00
roc+@cs.cmu.edu
fa9335bd42 Bug 382279. Disable ligatures when letter-spacing is in effect. Also, avoid adding space inside ligatures if the gfx backend doesn't respect our disabling of ligatures. r=pavlov 2007-05-30 22:01:56 -07:00
vladimir@pobox.com
7f4dbf2200 b=379834, scrolling with large dashed border extremely slow, r+sr=roc 2007-05-30 17:38:41 -07:00
roc+@cs.cmu.edu
845d6c6ddd Not (Really) Part Of The Build. Comment and whitespace changes only. More specific documentation for gfxSkipChars. 2007-05-30 15:20:11 -07:00
vladimir@pobox.com
6e9085af39 b=375042, cairo symbol exposed, potentially conflicting with system cairo, r=stuart 2007-05-30 01:34:28 -07:00
vladimir@pobox.com
5735a79fff b=348462, clamp font size to a lower value; r=stuart 2007-05-30 01:32:50 -07:00
vladimir@pobox.com
9133fcc42c b=364968, cairo big-image downscaling limit dest coord psace (corrupt favicon tab images), r+sr=roc 2007-05-30 01:22:05 -07:00
vladimir@pobox.com
59beedf483 b=364968, cairo big-image downscaling limit dest coord psace (corrupt favicon tab images), r+sr=roc 2007-05-30 01:20:40 -07:00
vladimir@pobox.com
3f6df29e29 b=368247, new border rendering approach, r+sr=roc 2007-05-29 19:46:54 -07:00
pavlov@pavlov.net
e88e60f26d relanding code to get and cache code point info from each font on your system and improve font selection speed and results. bug 377950. r=vlad/roc,sr=roc 2007-05-29 17:07:03 -07:00
benjamin@smedbergs.us
c958680a2c Backout bug 377950 due to startup crashes. 2007-05-29 08:09:23 -07:00
pavlov@pavlov.net
b7f7397cbf Get and cache code point info from each font on your system and improve font selection speed/results. bug 377950. r=vlad/roc,sr=roc 2007-05-29 03:24:15 -07:00
roc+@cs.cmu.edu
08c2b6d4aa Bug 382206. Ensure that the clip rectangle used to draw partial ligatures is pixel-aligned. Also fix an off-by-one error that busted the detection of the end of a ligature. r=pavlov 2007-05-29 02:47:54 -07:00
mozilla@weilbacher.org
89f5a47df5 [OS/2] Bug 381330: improve system font handling.- use the font name as read from OS2.INI to determine font properties- better comment nsSystemFontsOS2::GetSystemFont()- fix debugging typo (+1) left by mistake in earlier checkin 2007-05-28 16:49:06 -07:00
mozilla@weilbacher.org
5827640155 [OS/2] Bug 381333: improve Thebes font handling on OS/2.- fix faulty missing-glyph case- add the fix from bug 377923 2007-05-28 15:00:00 -07:00
mozilla@weilbacher.org
96664f00c9 [OS/2] Bug 381330: improve system font handling.Convert system units (pt) to Gecko units (px).Remove unnecessary function GetSystemFontInfo(), everything can be done inside GetSystemFont() directly. 2007-05-28 09:28:11 -07:00
vladimir@pobox.com
635702835b b=375047, fragile pango initialization, r=roc 2007-05-22 20:57:34 -07:00
vladimir@pobox.com
351cd4311b b=324698, disable bilinear filtering for upscaled images (upscaling causes misrendering), r=roc 2007-05-22 20:54:38 -07:00
sharparrow1@yahoo.com
eabb991fe2 Relanding bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc. 2007-05-22 20:45:59 -07:00
roc+@cs.cmu.edu
2f2ce6a87a Bug 377923. Hide glyphs for \t, \r and \n under all circumstances. r=pavlov 2007-05-22 20:45:51 -07:00
sharparrow1@yahoo.com
d4f1c91766 Backing out due to red tree. 2007-05-22 18:57:41 -07:00
sharparrow1@yahoo.com
795d602599 Bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc 2007-05-22 18:42:36 -07:00
roc+@cs.cmu.edu
9f80feccee Bug 381127. Add whitespace trimming capability to BreakAndMeasureText. r=pavlov 2007-05-22 16:40:07 -07:00
roc+@cs.cmu.edu
e118c4fcb4 Bug 381128. Remove gfxPangoFonts::Measure, it's kinda broken and not all that helpful right now. r=pavlov 2007-05-22 16:33:18 -07:00
tor@cs.brown.edu
a2218414c6 Bug 380071 - add cairo_clip_extents() functionality to thebes. r=vlad 2007-05-22 12:30:03 -07:00
jminta@gmail.com
75c45c5414 Bug 377717 again, if this doesn't go green i'll back out 2007-05-20 19:57:10 -07:00
jminta@gmail.com
6bcd70a458 try again 2007-05-20 19:45:45 -07:00
jminta@gmail.com
a9a3cf07ce bustage fix from Bug 377717 2007-05-20 19:42:02 -07:00
jminta@gmail.com
1fb0dc7c7f Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-20 19:18:04 -07:00
roc+@cs.cmu.edu
d6ff0ee073 Bug 377232. Align font boundaries with cluster boundaries to avoid ATSUI weirdness where it chooses different fonts fo characters in the same cluster... 2007-05-20 19:02:16 -07:00
roc+@cs.cmu.edu
25a38a1d57 Bug 380484. Don't divide by zero if a font has a really small maxAdvance. r=vlad 2007-05-20 18:56:10 -07:00
roc+@cs.cmu.edu
1c9b59c045 Bug 380210. Time out fonts after 30 seconds, not 3 seconds. r=vlad 2007-05-20 18:54:13 -07:00
vladimir@pobox.com
7cce2f4f37 b=380494, followup for zero-sized surfaces; allow zero-sized image surfaces to be created, r+sr=roc 2007-05-20 15:46:53 -07:00
vladimir@pobox.com
e51fc700f7 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 15:41:21 -07:00
mozilla@weilbacher.org
5103c57ef2 [OS/2] Bug 371504: get Thebes working on OS/2 again.- Change the font handling over from native OS/2 GPI to Fontconfig+Freetype.- This lets us use cairo text drawing.Finally end the months long OS/2 build break. 2007-05-20 06:45:49 -07:00
mozilla@weilbacher.org
98ceec445f [OS/2] Bug 371504: Makefile additions for Thebes on OS/2, r=vlad 2007-05-20 06:28:09 -07:00
joshmoz@gmail.com
bd0d160e41 don't put a dropmarker in comboboxes if nsITheme says not to. b=370282 r/sr=roc 2007-05-17 20:04:04 -07:00
roc+@cs.cmu.edu
007855e6ef Not (Really) Part Of The Build. Fix shortcut calculation that was causing random crashes with new textframe. 2007-05-16 22:18:21 -07:00
vladimir@pobox.com
46ddf124bb b=380494, allow zero-width/height surfaces (crash moz_cairo_win32_surface_get_image etc.), r+sr=roc 2007-05-15 13:27:10 -07:00
dbaron@dbaron.org
b065ff84ea Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad 2007-05-14 22:15:45 -07:00
roc+@cs.cmu.edu
69246cf0ee Bug 380692. Change gfxTextRun API so the textrun copies text, if necessary, instead of the caller having to do it. r=vlad 2007-05-14 20:56:47 -07:00
roc+@cs.cmu.edu
54fb98b302 Not (Really) Part Of The Build (Yet). Make gfxSkipCharsIterator::IsOriginalCharSkipped operate correctly when the iterator is currently pointed at a zero-length run. 2007-05-14 20:09:16 -07:00
roc+@cs.cmu.edu
ec3b45488e Bug 380484. Work around ATSUI's 32k pixel limitation; when creating textruns, split the textrun up into smaller pieces if necessary before we pass it to ATSUI. r=vlad 2007-05-14 20:06:52 -07:00
roc+@cs.cmu.edu
77ac654c2d Bug 380484. Work around ATSUI's 32k pixel limitation; when creating textruns, split the textrun up into smaller pieces if necessary before we pass it to ATSUI. r=vlad 2007-05-14 19:54:19 -07:00
asqueella@gmail.com
e8c2a7c282 Bug 380153 - SetupClusterBoundaries uses unset attrs from pango_break after NUL.p=Karl Tomlinson <mozbugz@karlt.net>r=roc 2007-05-13 05:31:24 -07:00
asqueella@gmail.com
498dedc047 Bug 375864 - Crash [@ gfxTextRun::CompressedGlyph::IsClusterStart] when viewing URL as UTF-16p=Karl Tomlinson <mozbugz@karlt.net>r+sr=roc 2007-05-13 04:32:43 -07:00
mats.palmgren@bredband.net
ba05ce501d Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
roc+@cs.cmu.edu
edb098f03a Bug 380210. Fix appunits to Pango units conversions (only affects newtextframe). r=vlad 2007-05-11 22:54:31 -07:00
roc+@cs.cmu.edu
87908652f9 Bug 380210. Make sure that a null PropertyProvider always means 'no spacing' without crashing. r=vlad 2007-05-11 22:53:29 -07:00
roc+@cs.cmu.edu
9c7e95d312 Bug 380210. Fix some incorrect comments and identifiers regarding units. r=vlad 2007-05-11 22:52:43 -07:00
roc+@cs.cmu.edu
0c240e4550 Bug 380451. Store hashcode in textrun to avoid accessing deleted text. r=vlad 2007-05-11 22:51:15 -07:00
vladimir@pobox.com
a5ca50ca0e X11 needs to be taken out behind the barn and shot, r=me 2007-05-10 13:50:16 -07:00
vladimir@pobox.com
fefd8305f7 more bustage fix 2007-05-10 13:41:40 -07:00
vladimir@pobox.com
50764812e5 more bustage fix 2007-05-10 13:20:08 -07:00
vladimir@pobox.com
bf13e49b7d X11 blows; bustage fix for linux 2007-05-10 13:19:04 -07:00
vladimir@pobox.com
45f00d29ec mac bustage fix 2007-05-10 13:12:24 -07:00
vladimir@pobox.com
3f27b185ee 371135, oom crashers with big images, r=stuart 2007-05-10 12:58:09 -07:00
gavin@gavinsharp.com
64a1e9ee59 Bug 376434: avoid using a different type so that MSVC can pack the bitfields properly, patch by Taras Glek <tglek@mozilla.com>, r=roc 2007-05-10 12:37:39 -07:00
roc+@cs.cmu.edu
116c18b96c Bug 375760. Implement new textrun cache: gfxTextRunCache (base cache which leaves textrun lifetime management to the client) and gfxGlobalTextRunCache (cache which manages textrun lifetimes using nsExpirationTracker). r=vlad 2007-05-09 13:33:16 -07:00
roc+@cs.cmu.edu
168e80e375 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-08 15:46:14 -07:00
masayuki@d-toybox.com
21ffe3da8b Bug 357637 Loading time (Tp) of pages with Chinese text is unbearable r=vlad 2007-05-08 08:33:52 -07:00
joshmoz@gmail.com
b8a5d1d3bf remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc 2007-05-07 18:20:11 -07:00
joshmoz@gmail.com
289921ae56 Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc 2007-05-06 19:06:58 -07:00
kjh-5727@comcast.net
363cd7633d Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi. 2007-05-06 04:29:41 -07:00
smontagu@smontagu.org
67ff695ef2 Assert on null gfxContext. Bug 377918, r+sr=roc 2007-05-06 03:41:27 -07:00
asqueella@gmail.com
f913d0e1b2 Bug 377976 - Check for null mDetailedGlyphs before referencing its members for missing CompressedGlyphs.(gfxFont.h part I missed the first time)p=Karl Tomlinson <mozbugz@karlt.net>r+sr=roc 2007-05-05 11:19:17 -07:00
sayrer@gmail.com
77816a029d backout patch for bug 375760 due to bustage. 2007-05-04 21:47:05 -07:00
sayrer@gmail.com
53b6461aa3 backout patch for bug 375760 due to bustage. 2007-05-04 21:36:13 -07:00
roc+@cs.cmu.edu
c28ead8361 Fixing bustage 2007-05-04 20:23:53 -07:00
roc+@cs.cmu.edu
c38af9c6b8 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-04 19:16:16 -07:00
masayuki@d-toybox.com
95cb4442e7 b=357637 backing out 2007-05-04 03:46:08 -07:00
masayuki@d-toybox.com
7816720db9 Bug 357637 Loading time (Tp) of pages with Chinese text is unbearable r=vlad 2007-05-04 03:02:54 -07:00
asqueella@gmail.com
e06b317a17 Bug 377976 - Check for null mDetailedGlyphs before referencing its members for missing CompressedGlyphs.p=Karl Tomlinson <mozbugz@karlt.net>r+sr=roc 2007-05-04 00:00:09 -07:00
asqueella@gmail.com
fce9d59a97 Bug 379433 - PangoItem and GList memory leaks in gfxPangoFontsp=Karl Tomlinson <mozbugz@karlt.net>r=vlad 2007-05-03 23:51:04 -07:00
mats.palmgren@bredband.net
c2c41dff75 Bye bye gtk1 and xlib (part 2 of 2). b=326152 r+sr=roc 2007-05-02 17:10:01 -07:00
masayuki@d-toybox.com
7e3d07a382 b=357637 backing-out the previous patch 2007-05-02 14:57:57 -07:00
masayuki@d-toybox.com
563715a829 Bug 357637 Loading time (Tp) of pages with Chinese text is unbearable (caching the pango fonts) r=vlad 2007-05-02 14:13:06 -07:00
gavin@gavinsharp.com
e24a780904 Bug 378695: SetupClusterBoundaries in gfxPangoFonts.cpp misinterprets attrs from pango_break, patch by Karl Tomlinson <mozbugz@karlt.net>, r=roc 2007-05-02 13:35:08 -07:00
vladimir@pobox.com
02374fc781 b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron 2007-04-30 20:31:25 -07:00
mats.palmgren@bredband.net
dfbd9d77a5 Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 16:52:44 -07:00
smontagu@smontagu.org
98c09ed446 Don't call GDI 'A' functions for non-ASCII strings. Bug 378859, r+sr=roc 2007-04-26 07:37:11 -07:00
asqueella@gmail.com
6facfc990d Bug 366643 - Crash after loading page with html entities and <img> tagp=Philip Taylor <philip@zaynar.demon.co.uk>r=pavlov 2007-04-25 14:02:50 -07:00
smontagu@smontagu.org
1e0d2b20c8 Reverse the sign of mXOffset in RTL runs so that the offset is always from left to right. Bug 378351, r=roc 2007-04-24 23:59:34 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
stuart.morgan@alumni.case.edu
97addfaba2 Bug 306902. r=josh sr=smfr a=dveditz 2007-04-21 20:10:51 -07:00
roc+@cs.cmu.edu
59d2c4c0f6 Bug 372838. Make win32 fonts scale properly in cairo, and make gfxWindowsFont always use the identity matrix for measuring. r=pavlov 2007-04-20 17:53:00 -07:00
vladimir@pobox.com
08cecdf0a8 b=367036, transparent background of images shows up as black when printed, r=stuart 2007-04-19 14:51:35 -07:00
smontagu@smontagu.org
a822c26542 Remove one incorrect assertion and temporarily comment out one that fires too often. Bug 377898, bug 377902, r+sr=roc 2007-04-19 02:04:10 -07:00
roc+@cs.cmu.edu
a8f38a80d7 Bug 377942. Don't treat 8-bit non-ASCII text as UTF8. r+sr=roc, patch by Karl Tomlinson 2007-04-18 14:22:42 -07:00
tor@cs.brown.edu
3da4824553 Bug 376927 - add path flattening API to thebes. r=vlad 2007-04-16 13:18:32 -07:00
dbaron@dbaron.org
10314006af Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
roc+@cs.cmu.edu
46fdf1ac9a Bug 376534. Improve the display of 8s in our missing-glyph-boxes. r=pavlov 2007-04-13 09:48:59 -07:00
roc+@cs.cmu.edu
623995e645 Bug 377053. Don't return a local string object to callers of gfxQuartzFontCache::GetPostscriptNameForFontID. r=vlad 2007-04-11 17:19:35 -07:00
neil@parkwaycc.co.uk
9d410d9f51 Followup to bug 375446 - gfxFontStyle is a struct, not a class rs=tor 2007-04-05 06:36:04 -07:00
roc+@cs.cmu.edu
546fe57bb6 Bug 374006. Fix to Quartz glyph position rounding lost during cairo update, probably my fault. Pushing it back with the right documentation this time. patch r=vlad 2007-04-05 01:08:23 -07:00
martijn.martijn@gmail.com
ee8e8c3b6d Bug 375506 - Fix for bug 372629 breaks Mingw - build error in gfxWindowsFonts.cpp, r=roc 2007-04-04 11:42:21 -07:00
masayuki@d-toybox.com
140e8b3eda b=333126 backing-out the previous checkin 2007-04-03 22:42:44 -07:00
masayuki@d-toybox.com
c5990628bd Bug 333126 Bold/Italic text isn't displayed as bold/italic with cairo-gtk2 build if the font is synthesis font. (only enable enbolden flag in cairo) r=vlad 2007-04-03 22:10:56 -07:00
roc+@cs.cmu.edu
d2337998c2 Bug 375757. Cache gfxFont objects. r=pavlov 2007-04-03 20:32:43 -07:00
vladimir@pobox.com
07b69ab209 b=376440, cairo crash on shutdown on nye 2007-04-03 19:59:42 -07:00
roc+@cs.cmu.edu
9d118160b7 Bug 375768. Fix minor textrun-related bugs, only affects new textframe. r=pavlov 2007-04-03 19:26:02 -07:00
vladimir@pobox.com
8ec66d82be b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 18:09:15 -07:00
pavlov@pavlov.net
f9204d14df fixing bug causing font-weight: 900 to not be bold. bug 359542. r=vlad 2007-04-03 13:11:25 -07:00
vladimir@pobox.com
ff7edc8d96 more backouts 2007-04-03 12:57:47 -07:00
vladimir@pobox.com
8698e07eca more backouts 2007-04-03 12:43:13 -07:00
vladimir@pobox.com
d6052c8a4c backing out 374462 2007-04-03 12:21:53 -07:00
vladimir@pobox.com
28cdc199c2 b=374462, update cairo to 1.4.2 -- missing file 2007-04-03 12:11:18 -07:00
vladimir@pobox.com
b227ab7f94 b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 11:59:47 -07:00
benjamin@smedbergs.us
5bf272bac1 Fix thebes tests when --enable-static, r=luser 2007-04-03 09:00:31 -07:00
pavlov@pavlov.net
bb8ea4330f fixing font selection bug dealing with zero-width glyphs and begin using ScriptGetCMap when possible. bug 376300. r=roc 2007-04-02 23:32:23 -07:00
roc+@cs.cmu.edu
f3d2506617 Bug 376299. If Windows tells us that the first character of a textrun is in the middle of a cluster, ignore it. r=pavlov 2007-04-02 20:19:46 -07:00
pavlov@pavlov.net
2dd8259b3e updating our unicode range table. bug 376298. r=vlad 2007-04-02 16:19:38 -07:00
vladimir@pobox.com
55d8b8871c b=374272, browser crashes when viewing page with many animated gifs, r=stuart 2007-04-02 12:57:58 -07:00
tor@cs.brown.edu
db9c79bfa1 Bug 375446 - Create gfxFontGroup factory method. r=vlad 2007-04-02 12:06:16 -07:00
benjamin@smedbergs.us
b760d3c08e Bug 374921 - link error in gfxSurfaceRefCountTest when libxul is enabled, r=roc 2007-04-02 09:09:05 -07:00
dbaron@dbaron.org
f51f568e3e Restore commented-out code now that bug 375824 is fixed. b=374680 2007-03-30 15:04:32 -07:00
roc+@cs.cmu.edu
649faf4536 Bug 375824. Centralize Thebes startup/shutdown sequence. r=vlad 2007-03-29 14:48:46 -07:00
roc+@cs.cmu.edu
6599844c53 Not part of the build (well, gfxSkipChars is built but not used): fix bugs in gfxSkipChars, and new textframe fixes for soft hyphens, justification, and caret movement (PeekOffset*) among other things 2007-03-28 16:54:32 -07:00
roc+@cs.cmu.edu
d9d4d3159d Bug 375662. Fix ATSUI issues with cluster detection. Also fix extraction of glyphs when trailing whitespace doesn't get the dominant text direction; remove the current workaround and replace it with a simpler workaround. r=vlad 2007-03-28 13:53:46 -07:00
joshmoz@gmail.com
856b9f4a9b fix crash when printing on Mac OS X. Re-ordered the calls in nsThebesDeviceContext::BeginPage so that the PrintManager calls get done in the right order (BeginPage, GetCGContext, EndPage). Patch by Colin Barrett. b=375495 r/sr=pav 2007-03-27 22:08:25 -07:00
roc+@cs.cmu.edu
13ff34b476 Fix bustage. 2007-03-27 20:59:09 -07:00
roc+@cs.cmu.edu
60a3aab860 Bug 372629. Don't treat fZeroWidth glyphs as missing if they're rendering a Unicode character which we expect to be zero-width. r=pavlov 2007-03-27 20:41:53 -07:00
roc+@cs.cmu.edu
fa171747f0 Backing out attempted fix for Windos reftests. I'll follow up with a real fix. 2007-03-27 17:05:06 -07:00
dbaron@dbaron.org
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
longsonr@gmail.com
c1fc03e9c8 Bug 375387 - make gfxMatrix::IsSingular const. r+sr=pavlov 2007-03-27 04:07:10 -07:00
joshmoz@gmail.com
5bdb5019b5 followup for fix to bug 371392, forgot to get rid of the header declaration for a variable I killed. b=371392 r/sr=biesi 2007-03-27 01:53:08 -07:00
joshmoz@gmail.com
e836dc9c3f get rid of old backbuffer API and related code. b=371392 r/sr=roc 2007-03-26 23:21:55 -07:00
roc+@cs.cmu.edu
c976a7c746 Bug 372629. Try to fix Windows reftests by special-casing ZWSP to never display a missing-glyph box. 2007-03-26 21:46:25 -07:00
roc+@cs.cmu.edu
6ce4a12335 Bug 372629. Try to fix Windows reftests by special-casing ZWSP to never display a missing-glyph box. 2007-03-26 21:34:49 -07:00
roc+@cs.cmu.edu
224214d8b9 Bug 372629. Draw missing-glyph boxes with the Unicode character inscribed in hex. r=pavlov 2007-03-26 20:24:49 -07:00
roc+@cs.cmu.edu
2511db122a Bug 372631. Hopefully fix Windows Tp performance by switching from GetCharacterPlacement to GetGlyphIndices/GetTextExtentExPointI. r=pavlov 2007-03-26 15:48:42 -07:00
roc+@cs.cmu.edu
e7c61031cb Bug 374720. Minor gfx changes to support new textframe work. r=pavlov 2007-03-22 16:07:18 -07:00
roc+@cs.cmu.edu
f2fc4febae Bug 374830. gfxTextRun performance test harness. r=vlad 2007-03-22 16:04:48 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
Mats Palmgren
9294488b2f Bug 665597 - Use saturating calculations when adding the margin to the scrollable overflow rect. part=4/5 r=roc 2012-01-17 00:38:10 +01:00
Robert O'Callahan
4635d15f3d Bug 665597. Add nsRect::SaturatingUnion(Rect)(Edges). r=mats 2012-01-03 11:55:30 +13:00