Commit Graph

286 Commits

Author SHA1 Message Date
vladimir@pobox.com
350aabc65d b=386897, compile cairo/pixman with full speed optimization, r=roc,sr=stuart 2007-07-17 16:08:32 -07:00
dbaron@dbaron.org
75c96c202a Move the code needed to get language group-specific font enumeration working and remove the rest of nsFontConfigUtils. b=379888 r=vlad 2007-07-17 14:58:45 -07:00
roc+@cs.cmu.edu
df3a6a3d68 Adding comment. 2007-07-16 16:45:16 -07:00
roc+@cs.cmu.edu
236f0ad4d2 Fixing reftest failure, hopefully. r=pavlov 2007-07-16 16:44:41 -07:00
roc+@cs.cmu.edu
d1797af5ad Bug 386920. Preserve line-break data when copying glyphs. r=pavlov 2007-07-16 15:50:35 -07:00
roc+@cs.cmu.edu
9906cb5415 Bug 387703. Make all-8bit Unicode text take the Xft fast path if that's enabled, to ensure it's displayed consistently. r=pavlov 2007-07-16 15:49:10 -07:00
smontagu@smontagu.org
70ab11577d Process glyphs in right-to-left clusters in reverse order. Bug 387653, r=vlad 2007-07-15 23:18:08 -07:00
kherron@fmailbox.com
fda0e634fc Bug 337771 - Native -moz-appearance work for menus and toolbars on Windows XP. Patch by Simon Bünzli <zeniko@gmail.com>. r=emaijala, sr=bzbarsky. 2007-07-14 08:11:37 -07:00
roc+@cs.cmu.edu
98e06e2acf Bug 387867. Rename DISABLE_LIGATURES to DISABLE_OPTIONAL_LIGATURES and make the ATSUI code only disable optional ligatures. r=pavlov 2007-07-13 01:09:25 -07:00
pavlov@pavlov.net
60b0c9dcbf speed up setting of code points. bug 386375. r=vlad 2007-07-12 11:14:59 -07:00
pavlov@pavlov.net
83eb81a853 re-enabling kerning on the mac. bug 387197. r=vlad 2007-07-11 10:41:26 -07:00
benjamin@smedbergs.us
27c6275bc8 Bug 386445 - mac build stops with "multiple definitions of symbol nsINIParser::GetSrings", also changes to building mac dylibs with -single_module, r=luser,jag 2007-07-11 10:26:11 -07:00
ginn.chen@sun.com
33f5ece160 Bug 387399 Asian fonts are not rendered in web page on BIG ENDIAN machine
r=vladimir
2007-07-10 23:40:38 -07:00
sharparrow1@yahoo.com
41e3c663f8 Bug 382595: Lines across embedded svg when scrolling. Followup rounding fix. r+sr=roc 2007-07-08 22:04:01 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
smontagu@smontagu.org
88c2c40931 Add an mIsRTL flag to the textrun word cache hash key. Bug 386339, r+sr=roc 2007-07-05 22:52:56 -07:00
mozilla@weilbacher.org
1dae669f68 [OS/2] Fix build break in gfxOS2Fonts.cpp (mimic gfxPangoFonts change that supposedly came from Bug 385423) 2007-07-05 13:50:44 -07:00
mats.palmgren@bredband.net
4cb9addd13 Remove non-cairo PostScript support. b=385577 r=kherron sr=pavlov 2007-07-05 04:29:51 -07:00
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