Commit Graph

5386 Commits

Author SHA1 Message Date
mats.palmgren@bredband.net
7986618f16 Fix GCC build error. b=363592 r=mkaply sr=benjamin 2007-06-08 05:05:29 -07:00
mats.palmgren@bredband.net
4616663331 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
81fe76e382 Bug 374251 r=vlad 2007-06-07 12:14:07 -07:00
roc+@cs.cmu.edu
edbbba35fa Bug 381654. Initialize PangoAnalysis fields robustly. patch by Karl Tomlinson, r+sr=roc 2007-06-06 20:29:34 -07:00
longsonr@gmail.com
7814c15a64 Bug 379284 - Support font-weight='lighter' on Windows. r=vladimir,sr=roc 2007-06-05 02:29:11 -07:00
joshmoz@gmail.com
b63a0df8e1 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
f312abfa88 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
26c976646e Fixing bustage. 2007-05-30 22:21:56 -07:00
roc+@cs.cmu.edu
937adf97c7 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
f1997a6a30 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
2321050308 b=379834, scrolling with large dashed border extremely slow, r+sr=roc 2007-05-30 17:38:41 -07:00
roc+@cs.cmu.edu
02865070e1 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
152ca532cb b=375042, cairo symbol exposed, potentially conflicting with system cairo, r=stuart 2007-05-30 01:34:28 -07:00
vladimir@pobox.com
8b3f9bbe2b b=348462, clamp font size to a lower value; r=stuart 2007-05-30 01:32:50 -07:00
vladimir@pobox.com
4668da5aa9 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
a2c11c6811 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
4a82ffd916 b=368247, new border rendering approach, r+sr=roc 2007-05-29 19:46:54 -07:00
pavlov@pavlov.net
39b713088b 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
a57f4060b6 Backout bug 377950 due to startup crashes. 2007-05-29 08:09:23 -07:00
pavlov@pavlov.net
a6cd41a0b1 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
a1b2ee93ff 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
000ff10710 [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
a394167bc1 [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
7b8e61ec4b [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
2b94255243 b=375047, fragile pango initialization, r=roc 2007-05-22 20:57:34 -07:00
vladimir@pobox.com
4d4b46fc4b b=324698, disable bilinear filtering for upscaled images (upscaling causes misrendering), r=roc 2007-05-22 20:54:38 -07:00
sharparrow1@yahoo.com
53b5d6bd32 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
1c5b7e8938 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
200370c700 Backing out due to red tree. 2007-05-22 18:57:41 -07:00
sharparrow1@yahoo.com
36e7d7017d 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
325f3d9df8 Bug 381127. Add whitespace trimming capability to BreakAndMeasureText. r=pavlov 2007-05-22 16:40:07 -07:00
roc+@cs.cmu.edu
94eac5dda3 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
559e07b259 Bug 380071 - add cairo_clip_extents() functionality to thebes. r=vlad 2007-05-22 12:30:03 -07:00
jminta@gmail.com
7e5800d0ea Bug 377717 again, if this doesn't go green i'll back out 2007-05-20 19:57:10 -07:00
jminta@gmail.com
86c9951f64 try again 2007-05-20 19:45:45 -07:00
jminta@gmail.com
1c86cd5dad bustage fix from Bug 377717 2007-05-20 19:42:02 -07:00
jminta@gmail.com
5f133ddc08 Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-20 19:18:04 -07:00
roc+@cs.cmu.edu
f16d2842f0 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
28dcf3f8e0 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
d6f07e5be0 Bug 380210. Time out fonts after 30 seconds, not 3 seconds. r=vlad 2007-05-20 18:54:13 -07:00
vladimir@pobox.com
13b93a8179 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
221b96d8f0 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 15:41:21 -07:00
mozilla@weilbacher.org
30ee63d891 [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
48727bd7f1 [OS/2] Bug 371504: Makefile additions for Thebes on OS/2, r=vlad 2007-05-20 06:28:09 -07:00
joshmoz@gmail.com
79ffe0b1d1 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
16c6146b03 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
449aa0365c 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
6da5095394 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
e7e11676c0 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
b9c2535e4d 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
e74bb303b6 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
cefbf16024 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
e61b872772 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
bd7484271c 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
b3b5d084fc 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
6dd35fc852 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
46855a094f 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
0a098dc718 Bug 380210. Fix some incorrect comments and identifiers regarding units. r=vlad 2007-05-11 22:52:43 -07:00
roc+@cs.cmu.edu
09f3ff862f Bug 380451. Store hashcode in textrun to avoid accessing deleted text. r=vlad 2007-05-11 22:51:15 -07:00
vladimir@pobox.com
17fdb786db X11 needs to be taken out behind the barn and shot, r=me 2007-05-10 13:50:16 -07:00
vladimir@pobox.com
af1330d11e more bustage fix 2007-05-10 13:41:40 -07:00
vladimir@pobox.com
485e4a6213 more bustage fix 2007-05-10 13:20:08 -07:00
vladimir@pobox.com
ef149f02e5 X11 blows; bustage fix for linux 2007-05-10 13:19:04 -07:00
vladimir@pobox.com
af303fa5b3 mac bustage fix 2007-05-10 13:12:24 -07:00
vladimir@pobox.com
1f64321330 371135, oom crashers with big images, r=stuart 2007-05-10 12:58:09 -07:00
gavin@gavinsharp.com
2025358959 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
b5e9afb0bb 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
d99fda4f3e 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
8a54aa4dcc 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
ac893c90fa 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
58a0e676e8 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
bc93bea324 Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi. 2007-05-06 04:29:41 -07:00
smontagu@smontagu.org
9323ee4629 Assert on null gfxContext. Bug 377918, r+sr=roc 2007-05-06 03:41:27 -07:00
asqueella@gmail.com
c251746b06 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
27f78a22b3 backout patch for bug 375760 due to bustage. 2007-05-04 21:47:05 -07:00
sayrer@gmail.com
fd8573d347 backout patch for bug 375760 due to bustage. 2007-05-04 21:36:13 -07:00
roc+@cs.cmu.edu
0bcd4c4f9a Fixing bustage 2007-05-04 20:23:53 -07:00
roc+@cs.cmu.edu
2898af075d 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
b8997901e5 b=357637 backing out 2007-05-04 03:46:08 -07:00
masayuki@d-toybox.com
3683a5ae5a 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
ffd0a775f8 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
1d2bc29aa9 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
781088d843 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
eb14eb6945 b=357637 backing-out the previous patch 2007-05-02 14:57:57 -07:00
masayuki@d-toybox.com
4d9f0b7718 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
3538ce0131 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
ba88c35259 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
c712869d45 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
24d8224dff 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
a5c25d47e8 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
ab457d3e6a 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
baab01ada6 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
1610a12b60 Bug 306902. r=josh sr=smfr a=dveditz 2007-04-21 20:10:51 -07:00
roc+@cs.cmu.edu
cdcc20eec2 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
e7ad2e76fa 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
73bc24845d 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
75fcf2966a 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
87456a494a Bug 376927 - add path flattening API to thebes. r=vlad 2007-04-16 13:18:32 -07:00
dbaron@dbaron.org
9b013dc30a 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
b4ecfc1144 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
0269c84b60 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
6a4cd143c9 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
12f725d292 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
fa4a487b6e 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
f7c3f7f3f1 b=333126 backing-out the previous checkin 2007-04-03 22:42:44 -07:00
masayuki@d-toybox.com
3a8e2b0d6a 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
4edc266f0f Bug 375757. Cache gfxFont objects. r=pavlov 2007-04-03 20:32:43 -07:00
vladimir@pobox.com
f1861da9a3 b=376440, cairo crash on shutdown on nye 2007-04-03 19:59:42 -07:00
roc+@cs.cmu.edu
cc74e411be Bug 375768. Fix minor textrun-related bugs, only affects new textframe. r=pavlov 2007-04-03 19:26:02 -07:00
vladimir@pobox.com
27d4adde0b b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 18:09:15 -07:00
pavlov@pavlov.net
67fe6263f1 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
5ac98d02cf more backouts 2007-04-03 12:57:47 -07:00
vladimir@pobox.com
24f13c6867 more backouts 2007-04-03 12:43:13 -07:00
vladimir@pobox.com
8c99e08d28 backing out 374462 2007-04-03 12:21:53 -07:00
vladimir@pobox.com
aa6e7fec1b b=374462, update cairo to 1.4.2 -- missing file 2007-04-03 12:11:18 -07:00
vladimir@pobox.com
1d3ea30f12 b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 11:59:47 -07:00
benjamin@smedbergs.us
f094421f0c Fix thebes tests when --enable-static, r=luser 2007-04-03 09:00:31 -07:00
pavlov@pavlov.net
6486ab880c 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
e72c7b6836 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
768c591a14 updating our unicode range table. bug 376298. r=vlad 2007-04-02 16:19:38 -07:00
vladimir@pobox.com
59d304bf29 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
110d3b36d6 Bug 375446 - Create gfxFontGroup factory method. r=vlad 2007-04-02 12:06:16 -07:00
benjamin@smedbergs.us
2129294834 Bug 374921 - link error in gfxSurfaceRefCountTest when libxul is enabled, r=roc 2007-04-02 09:09:05 -07:00
dbaron@dbaron.org
3c6ce52492 Restore commented-out code now that bug 375824 is fixed. b=374680 2007-03-30 15:04:32 -07:00
roc+@cs.cmu.edu
15a6f2e807 Bug 375824. Centralize Thebes startup/shutdown sequence. r=vlad 2007-03-29 14:48:46 -07:00
roc+@cs.cmu.edu
23dbb12d5b 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
7b0d468111 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
8461ddf036 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
bfeae28ccb Fix bustage. 2007-03-27 20:59:09 -07:00
roc+@cs.cmu.edu
eea476edcc 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
119c3a8ea5 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
e7bb1b1c38 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
longsonr@gmail.com
9bca90d7e5 Bug 375387 - make gfxMatrix::IsSingular const. r+sr=pavlov 2007-03-27 04:07:10 -07:00
joshmoz@gmail.com
69336f5dcb 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
96c071174a 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
71db046d82 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
284e1a994f 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
f654a8e6f2 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
a8fe479d76 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
ec65528740 Bug 374720. Minor gfx changes to support new textframe work. r=pavlov 2007-03-22 16:07:18 -07:00
roc+@cs.cmu.edu
67081e9811 Bug 374830. gfxTextRun performance test harness. r=vlad 2007-03-22 16:04:48 -07:00
hg@mozilla.com
05e5d33a57 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
maxf%magma.ca
4573b68c1a (I'm moving changes made on the MOZILLA_1_8_BRANCH to HEAD)
This change is for the QNX (Photon) platform only. It will not affect the
runtime or build of other Mozilla platforms since QNX source is not part of
Tinderbox builds. You can contact me at: mfeil@qnx.com

This change fixes compile errors when building Firefox under QNX Neutrino.
None of the changes should affect non-QNX builds in any way. r=amardare%qnx.com
2007-03-21 19:22:44 +00:00
dbaron%dbaron.org
fe405193ee Comment out cairo_debug_reset_static_data for now, until we can fix the asserts that it causes. b=374680 r=vlad 2007-03-21 19:05:34 +00:00
dbaron%dbaron.org
5d8e67e815 I got the nsRect and gfxRect APIs confused. b=374715 r=vlad 2007-03-21 19:04:38 +00:00
tor%cs.brown.edu
8477ec2a14 Bug 374652 - return appropriate rect for gfxRect::Union if one of the
sources is empty.  r=vlad
2007-03-21 01:32:01 +00:00
roc+%cs.cmu.edu
8df813bd8f Bug 374567. Make GetDevUnitsPerAppUnit return a PRUint32. r=pavlov 2007-03-20 08:58:53 +00:00
roc+%cs.cmu.edu
22bd29e05c Bug 374580. Fix embarrassing RTL regression on Mac. r=pavlov 2007-03-20 08:50:43 +00:00
roc+%cs.cmu.edu
bc9ee0e31f Bug 373081. Fix up Thebes font selection tests to build and run, including on Linux. r=vlad 2007-03-20 03:46:17 +00:00
roc+%cs.cmu.edu
86c0040761 Bug 372631. Rework extraction of glyphs from an ATSUI layout to be simpler and more robust. Also, store glyph advances in gfxTextRun in multiples of appunits and ensure they're all rounded to appunits (on all platforms). 2007-03-20 03:26:19 +00:00
roc+%cs.cmu.edu
5d0896ff66 Backout the last couple of gfx checkins because the bugs and patches were mixed up. I'll reland. 2007-03-20 03:00:11 +00:00
roc+%cs.cmu.edu
7e6c86eff8 Bug 372631. Rework extraction of glyphs from an ATSUI layout to be simpler and more robust. Also, store glyph advances in gfxTextRun in multiples of appunits and ensure they're all rounded to appunits (on all platforms). 2007-03-20 02:55:32 +00:00
roc+%cs.cmu.edu
221168e678 Bug 373081. Fix up Thebes font selection tests to build and run, including on Linux. r=vlad 2007-03-20 02:38:37 +00:00
roc+%cs.cmu.edu
ef916180ee Bug 374066. In the cairo Quartz backend, round glyph positions to floats --- not the advances. Prevents error from accumulating. r=vlad 2007-03-20 02:04:01 +00:00
dbaron%dbaron.org
405d600298 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc 2007-03-20 00:58:20 +00:00
dbaron%dbaron.org
367d5607f1 Fix various shutdown leaks. Add static Shutdown method to gfxPlatform as the entry point for thebes cleanup and use the virtual destructor of the platform-specific gfxPlatform objects to do platform-specific cleanup. b=374286 r=vlad 2007-03-19 23:16:15 +00:00
dbaron%dbaron.org
e1e938706d Fix leak of cairo_font_face_t. b=374286 r=vlad 2007-03-19 23:14:33 +00:00
roc+%cs.cmu.edu
dd8f7bcce2 Bug 372639. Don't die if the font selection code gives us more glyphs than we're supposed to have (just assert). r=pavlov 2007-03-19 03:27:55 +00:00
martijn.martijn%gmail.com
210686b2c7 Bug 373010 � Mingw build failure in mozilla/gfx/thebes/src/gfxWindowsFonts.cpp, r+sr=pavlov 2007-03-14 17:33:53 +00:00
mozilla%weilbacher.org
776516dd1d [OS/2] fix build break in gfx/src/thebes following bug 369930 by implementing nsThebesDeviceContext::SetDPI() for OS/2 2007-03-10 17:48:27 +00:00
pavlov%pavlov.net
4eee5aa123 make the new fast path fall in to uniscribe if the font is missing glyphs to render the text. bug 372636. r=roc 2007-03-06 21:18:18 +00:00
roc+%cs.cmu.edu
7aedc416f7 Fixing bustage 2007-03-04 21:12:24 +00:00
roc+%cs.cmu.edu
807c3d9076 Bug 370588. Make gfxTextRun be a single shared class for all platforms. Move all platform-specific code to gfxFontGroup and gfxFont implementations. Actually implement textruns properly on Mac and Windows. r=vlad,pavlov 2007-03-04 21:05:10 +00:00
bzbarsky%mit.edu
ed84432b87 Address review comment from dbaron. Bug 330064 2007-03-03 04:57:48 +00:00
bzbarsky%mit.edu
994513394b Hack to increase XftMaxFreeTypeFiles to a sane value from the default value of
"5".  Bug 330064, patch by vlad, r+sr=roc
2007-03-03 04:55:35 +00:00
vladimir%pobox.com
5be17c08b9 fix tree bustage 2007-03-03 00:25:44 +00:00
vladimir%pobox.com
512ced2f1b b=using opacity with windows native widgets causes bogus rendering/lack of rendering; r=stuart 2007-03-03 00:18:34 +00:00
pavlov%pavlov.net
d586bd14d6 removing gfx REQUIRES from thebes. bug 372313. r=vlad 2007-03-02 22:41:06 +00:00
pavlov%pavlov.net
42ff02e82f adding back gfx to requires. mistakenly removed during last checkin 2007-03-01 00:21:28 +00:00
pavlov%pavlov.net
5033ec7891 enabling PDF surface on windows. bug 369930. r/sr=vlad 2007-03-01 00:02:27 +00:00
mats.palmgren%bredband.net
9af542b014 Fix GCC compile error on Windows. r+sr=pavlov 2007-02-27 22:18:27 +00:00
mozilla%weilbacher.org
4c1e8df200 [OS/2] Bug 333235: initial checkin of new files for Thebes on OS/2, this should fix the cairo-os2 build break. sr=pavlov 2007-02-24 10:58:48 +00:00
dbaron%dbaron.org
ce9b0a8211 Snap edges to pixels rather than sizes. b=371225 r=vlad 2007-02-23 17:50:32 +00:00
jruderman%hmc.edu
988d46d18f Bug 369947: CairoGlyphBuffer::EnsureSize tries to free() part of the stack. Free the correct buffer instead. r=vlad. 2007-02-23 07:35:56 +00:00
sharparrow1%yahoo.com
e237216d29 Bug 370553: fix crash with very large dpi values, plus some comment changes. r+sr=roc. 2007-02-17 10:59:20 +00:00
gijskruitbosch%gmail.com
d94594b5d3 Bug 370024 - Nullcheck mPrintingSurface in EndDocument to prevent crashing when printing
p=cbarrett@mozilla.com (Colin Barrett)
r+sr=pavlov@pavlov.net (Stuart Parmenter)
2007-02-16 10:23:00 +00:00
joshmoz%gmail.com
ad35697de6 extend nsITheme to support native focus drawing. b=370549 r=dbaron sr=roc 2007-02-16 01:53:43 +00:00
sharparrow1%yahoo.com
d986ad1f22 Bug 370034: Replace nsIDeviceContext::GetDeviceContextFor with nsIDeviceContext::Init. r+sr=roc 2007-02-15 11:08:47 +00:00
sharparrow1%yahoo.com
1706963a44 Bug 369698: fix dynamic changes to layout.css.dpi pref. r+sr=roc. 2007-02-15 09:04:25 +00:00
pavlov%pavlov.net
0e90b3453a removing unused files r=vlad 2007-02-15 00:31:54 +00:00
joshmoz%gmail.com
12ad810794 cleanup. r+sr=dbaron 2007-02-14 21:00:15 +00:00
sharparrow1%yahoo.com
a8f437abc4 Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc. 2007-02-13 22:36:59 +00:00
roc+%cs.cmu.edu
96e62daf4c Make new textframe build again after units landing and other changes. The gfxSkipChars and gfxPangoTextRun changes only affect the new textframe. 2007-02-09 04:20:17 +00:00
bzbarsky%mit.edu
b07f9887e4 Flag 8-bit ATSUI text too. Bug 368799. 2007-02-09 02:51:06 +00:00
bzbarsky%mit.edu
a54e7d816c Fixing Mac bustage and adding a flag per roc. Bug 368799. 2007-02-09 02:27:53 +00:00
bzbarsky%mit.edu
db86ba9ac1 Build bustage fix, bug 368799. 2007-02-09 02:19:10 +00:00
roc+%cs.cmu.edu
99091a5c16 Bug 368799. Refactor gfxPangoTextRun so that the platform-dependent parts are all in gfxPangoFont/gfxPangoFontGroup. Also, remove special-string APIs, FlushSpacingCache and GetDecorationMetrics APIs from gfxTextRun. This will allow us to merge gfxPangoTextRun up to gfxTextRun and use that code on all platforms. r=pavlov 2007-02-09 01:42:29 +00:00
pavlov%pavlov.net
0fd1403b8d thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 21:40:59 +00:00
pavlov%pavlov.net
4ded374e63 thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 21:18:08 +00:00
pavlov%pavlov.net
a501d37bad thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 20:47:48 +00:00
dbaron%dbaron.org
afc56e1eb0 Make MOZ_GFX_TOOLKIT in Makefiles be the same thing that it is in configure. b=369409 r=vlad 2007-02-08 19:23:25 +00:00
mats.palmgren%bredband.net
505d703399 Protect against division by zero. b=368427 r+sr=pavlov 2007-02-08 13:52:25 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
masayuki%d-toybox.com
dbbfb28407 Bug 369198 some characters missing at drawing r=roc 2007-02-05 03:11:53 +00:00
alfred.peng%sun.com
715130caf3 Bug 365339. set cairo endianness macros in a sane way.
r=vladimir.
2007-02-02 03:26:39 +00:00
masayuki%d-toybox.com
f1af47d2d9 Bug 365236 Implement font-size-adjust on Mac r=vlad 2007-02-02 00:46:48 +00:00
asqueella%gmail.com
779f93a830 Bug 366727 - Standardize Cairo Pixel construction and clean the PNG decoder a little
patch by Alfred Kayser <alfredkayser@nl.ibm.com>
r=stuart, sr=vlad
2007-01-31 21:09:20 +00:00
vladimir%pobox.com
14811877e1 b=368852, cocoa native theme code needs to flush cairo clip before drawing, r=stuart 2007-01-31 18:43:34 +00:00
mats.palmgren%bredband.net
99bf7a17e3 Add some protection in nsThebesImage::Draw() against bad calls. b=368427 r+sr=pavlov 2007-01-30 22:52:53 +00:00
roc+%cs.cmu.edu
c85815d9c5 Bug 368468. Make code conform to Thebes style. r=pavlov 2007-01-30 19:49:16 +00:00
masayuki%d-toybox.com
9c9408d712 Bug 366285 Need a common class of the fontconfig management for Linux and BeOS r=vlad 2007-01-30 08:20:29 +00:00
roc+%cs.cmu.edu
bf9d7a68f5 Bug 368182. Add Xft path to gfxPangoTextRun to hopefully improve performance for 8bit text (rendering should be the same as it used to be pre-gfxPangoTextRun). r=pavlov 2007-01-30 01:14:19 +00:00
jwatt%jwatt.org
849b5d2ea9 Fix typo. r=stuart (no bug) 2007-01-29 19:49:23 +00:00
alfred.peng%sun.com
732f693fcd Bug 368377. Stop exporting cairo headers from thebes headers.
Fix Solaris compiler bustage.
Patch by Andreas Lange anlan@lange.cx. r=pavlov.
2007-01-29 07:25:05 +00:00
mozilla%weilbacher.org
e499da9c63 [OS/2] Bug 333235: Get Thebes to work on OS/2. Required build additions and easy widget changes. r=mkaply 2007-01-28 22:20:21 +00:00
mats.palmgren%bredband.net
711c03b377 Fix divide by zero crash regression. b=368427 r+sr=pavlov 2007-01-27 23:35:07 +00:00
pavlov%pavlov.net
1be6448bbc Changing mac printing to use print manager instead of cups. bug 367433. r=vlad/cbarrett 2007-01-27 04:06:59 +00:00
pavlov%pavlov.net
1ed2a99b84 fixing build bustage 2007-01-27 02:14:19 +00:00
pavlov%pavlov.net
d448938a5e temp bustage fix 2007-01-27 01:48:33 +00:00
pavlov%pavlov.net
bd6d952369 adding finish method to gfxASurface 2007-01-27 01:46:14 +00:00
pavlov%pavlov.net
fe05d3f5e4 stop exporting cairo headers from thebes headers. bug 368377. r=vlad 2007-01-27 01:26:49 +00:00
mats.palmgren%bredband.net
51eb03f781 Impose the limits on final image size in two more places. b=367740 r+sr=pavlov 2007-01-26 18:12:58 +00:00
vladimir%pobox.com
a69f511493 b=365001 - dotted/dashed border on tall page causes rect leakage, r=stuart 2007-01-26 00:20:57 +00:00
roc+%cs.cmu.edu
a08ac4ca97 Bug 367930. Introduce an nsIRenderingContext::GetHints flag (temporarily) that tells us whether new-text-runs are being used underneath. When new text runs are in use, never reverse text manually, we can be sure that the platform textrun will do it. 2007-01-25 01:58:55 +00:00
vladimir%pobox.com
94f02207e7 b=367768, update cairo to 1.3.12 snapshot, clobbering tinderbox to see if it's just not picking up the cairo-rename.h change 2007-01-25 01:45:57 +00:00
vladimir%pobox.com
7db9167a4b b=367768, update cairo to 1.3.12 snapshot, r=stuart 2007-01-25 00:27:34 +00:00
vladimir%pobox.com
294a9ae119 b=367768, update cairo to 1.3.12 snapshot, r=stuart 2007-01-25 00:05:56 +00:00
vladimir%pobox.com
5903f6237f b=367768, update cairo to 1.3.12 snapshot, r=stuart 2007-01-24 23:53:53 +00:00
masayuki%d-toybox.com
3270b5657f bug 368081 font-size-adjust broken on windows if the text has non solid color r=pavlov 2007-01-24 19:58:47 +00:00
roc+%cs.cmu.edu
23f5c91f67 Bug 333659. (Re)landing gfx changes: new gfxTextRun interfaces, implementation of gfxPangoTextRun, stub implementations for Mac and Windows, nsThebesRenderingContext reimplemented on top of the new interfaces. r=pavlov 2007-01-23 08:45:52 +00:00
bzbarsky%mit.edu
368f9d8500 Shut down the textrun cache on shutdown. Bug 357779, r=vlad, sr=roc 2007-01-23 05:24:21 +00:00
roc+%cs.cmu.edu
fa1e88771c Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron 2007-01-23 02:58:55 +00:00
jwatt%jwatt.org
6d09e99fa6 fix typo. r=stuart (no bug) 2007-01-22 23:25:41 +00:00
tor%cs.brown.edu
f9d1421ef4 Bug 367416 - thebes API additions needed for nsSVGPathGeometryFrame
conversion.  r=vlad
2007-01-22 18:14:47 +00:00
bzbarsky%mit.edu
85bc46ddc7 Fix --enable-tests builds -- need to link to zlib. r=vlad 2007-01-20 05:37:50 +00:00
vladimir%pobox.com
7c485d3a1a b=366870 additional build fix for linux/--enable-tests 2007-01-19 23:26:19 +00:00
vladimir%pobox.com
8006d4dc8a b=366870, add font/glyph selection test framework, this time with all the files, r=stuart 2007-01-19 21:23:38 +00:00
vladimir%pobox.com
01a30217c8 b=366870, add font/glyph selection test framework, r=stuart 2007-01-19 21:15:49 +00:00
joshmoz%gmail.com
9f6cc6083e use small scrollbars in HTML select controls. b=365243 r=smorgan sr=roc 2007-01-19 07:03:20 +00:00
vladimir%pobox.com
d114701e8d test bustage fix 2007-01-18 00:55:53 +00:00
vladimir%pobox.com
bc9d6799d2 bustage fix 2007-01-17 22:37:43 +00:00
dbaron%dbaron.org
73570b69c5 Make non-box frames use nsITheme methods concerning size, border, and padding, so that non-boxes with appearance set will obey the platform-specific theme. b=366722 r+sr=roc 2007-01-17 22:31:07 +00:00
vladimir%pobox.com
a4f4c3f5b0 b=361592, fix cairo surface wrapper refcount issues, r=stuart 2007-01-17 22:20:16 +00:00
roc+%cs.cmu.edu
b9901c5db1 Fix subtraction of unsigned values to happen in signed space. NPOB 2007-01-17 19:39:05 +00:00
roc+%cs.cmu.edu
7115ecbf2d Fixing bustage 2007-01-17 03:03:48 +00:00
roc+%cs.cmu.edu
66d31e8fca Bug 333659. Relanding minor gfx/thebes changes --- new gfxRect APIs, new gfxSkipChars class, remove gfxContext::DrawTextRun unused method, shouldn't affect current code. r=pavlov 2007-01-17 02:31:14 +00:00
roc+%cs.cmu.edu
679c5306ab Bug 333659. Relanding nsFont changes --- new BaseEquals API, shouldn't affect current code. r=pavlov 2007-01-17 02:16:22 +00:00
roc+%cs.cmu.edu
7268a1957b Backing out text landing. 2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e6bad38abe Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts 2007-01-16 20:51:52 +00:00
jwatt%jwatt.org
6bbb02f3ed Make gfxRect methods const. r=stuart 2007-01-14 11:39:39 +00:00
masayuki%d-toybox.com
0a3a219e21 Bug 353872 font-size-adjust broken on windows r=stuart 2007-01-05 20:43:49 +00:00
masayuki%d-toybox.com
dfe6f6a6aa Bug 364058 [cocoa-cairo] css length unit 'ex' doesn't work on 10.3.9 r=vald 2007-01-05 20:00:04 +00:00
masayuki%d-toybox.com
906acf7a9d Bug 364785 ts regression by bug 362665 and bug 364678 and Bug 364832 Family names should not be high priority rather than font name r=vlad 2007-01-05 19:58:24 +00:00
masayuki%d-toybox.com
786b2b9d4e Bug 365613 [regression] all font-weight are displayed as 'bold' except for the 'normal' keyword and '400' r=vlad 2007-01-05 19:56:46 +00:00
masayuki%d-toybox.com
6d0abecbb5 Bug 361532 Cairo still incorrectly substitutes fonts and then bolds them incorrectly if you are not using Windows XP's default regional and language options on some sites. r=VYV03354+pavlov 2007-01-05 15:51:27 +00:00
masayuki%d-toybox.com
2b328a545a Bug 357637 Loading time (Tp) of pages with Chinese text is unbearable #2 r=vlad 2007-01-05 12:30:30 +00:00
masayuki%d-toybox.com
39d80d8bbf Bug 361576 underlines sometimes missing or wrong thickness r=vlad 2007-01-05 12:18:34 +00:00
roc+%cs.cmu.edu
00e4073219 Bug 365695. Fix bad usage of MAC_OS_X_VERSION_10_4. r=vlad 2007-01-04 01:48:37 +00:00
smontagu%smontagu.org
025f6b4072 Extend bug 353756 to cover vector fonts as well as bitmap fonts. r=pavlov 2006-12-28 17:23:21 +00:00
smontagu%smontagu.org
691629e63e Bitmap fonts claim to support Unicode characters when they don't really. Bug 353756, r=pavlov 2006-12-27 08:43:15 +00:00