Commit Graph

173 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
32348d899d Bug 407761. Don't try to get/use extents for missing glyphs, and tolerate glyph extents that might be missing due to OOM. r=vlad 2007-12-20 23:09:50 -08:00
mozilla@weilbacher.org
24ec805ac5 [OS/2] Bug 407524: Enable PDF surface on OS/2, r=ted.mielczarek 2007-12-11 13:49:27 -08:00
mozilla@weilbacher.org
73ea6c1e24 [OS/2] Bug 381333: enable kerning when high quality rendering is on 2007-12-11 12:51:07 -08:00
mozilla@weilbacher.org
62f08a3525 [OS/2] Bug 406447: use gfxFontCache on OS/2 2007-12-03 14:31:03 -08:00
vladimir@pobox.com
11e3011229 fix linux bustage 2007-11-29 12:16:04 -08:00
vladimir@pobox.com
c06f0dc4e3 b=404092, upgrade cairo to 1.5.2-55 2007-11-29 12:06:56 -08:00
reed@reedloden.com
96f5ba58d1 Bug 364221 - "[cairo] bad page scrolling performance with large background images" [p=alfredkayser@nl.ibm.com (Alfred Kayser) / vladimir@pobox.com (Vladimir Vukicevic [vlad]) r=stuart sr=tor a=blocking1.9+] 2007-11-27 01:35:18 -08:00
vladimir@pobox.com
f961025905 b=379430, print preview hangs X, r+sr=roc,a=schrep 2007-11-26 16:20:52 -08:00
roc+@cs.cmu.edu
2675d646bc Bug 403589. Fuse memory allocations in gfxTextRun. r=pavlov 2007-11-15 17:43:47 -08:00
smontagu@smontagu.org
f90f784a21 Go back to adding bidi overrides to text-runs. Prevents assertions and a regression in shaping LTR Arabic. Bug 402427, r+sr=roc, blocking1.9=pavlov 2007-11-11 11:40:34 -08:00
reed@reedloden.com
ec9b5160d0 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-08 22:27:23 -08:00
reed@reedloden.com
50d128a352 Backout roc's patch for bug 385417, as it most likely caused bug 402990 and the numerous test failures. 2007-11-07 23:41:06 -08:00
reed@reedloden.com
2fc6943fb7 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-07 20:31:33 -08:00
reed@reedloden.com
39d7d0c750 Bug 380464 - "crashed [@ gfxPlatformGtk::SetSurfaceGdkWindow] in case where I used to see bug 263160" [p=vlad r=stuart a=blocking1.9+] 2007-11-07 00:51:53 -08:00
roc+@cs.cmu.edu
4b80cff404 Bug 396321. Make gfxTextRunWordCache strip bidi control characters when it creates a text run, ensuring that platform text engines never see such characters. r=pavlov,a=vlad 2007-10-24 14:39:23 -07:00
roc+@cs.cmu.edu
19579790dd Bug 395458. Blacklist more characters that cause problems when passed to font engines. r=pavlov,a=vlad 2007-10-23 17:15:10 -07:00
mozilla@weilbacher.org
ed87e29a3e [OS/2] Bug 371505: finally fix repaint issues with Thebes 2007-10-22 10:59:24 -07:00
karlt+@karlt.net
15267eb778 Bug 397288: use CreateGlyphRunsItemizing when CreateGlyphRunsFast fails. r+a=pavlov 2007-10-11 18:05:16 -07:00
pavlov@pavlov.net
73d97b6c94 bug 362682. re-re-landing linux text goodness. r=vlad, patch by me and Behdad Esfahbod <mozilla@behdad.org>. 2007-10-06 00:26:13 -07:00
roc+@cs.cmu.edu
1fb7f38610 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 18:47:40 -07:00
roc+@cs.cmu.edu
aa2f1bb4bf Backing out 2007-10-01 15:11:23 -07:00
roc+@cs.cmu.edu
07952e214b Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 14:29:19 -07:00
masayuki@d-toybox.com
441b843142 Bug 395866 font fallback does not respect stylesheet font list r=vlad, b1.9=stuart 2007-09-28 10:33:50 -07:00
pavlov@pavlov.net
6a813422a6 backing out, again.. not sure what the leaks are. 2007-09-27 17:15:59 -07:00
pavlov@pavlov.net
57cf17aabe bug 362682. relanding linux text goodness. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-27 15:15:51 -07:00
mozilla@weilbacher.org
9d5c0f3120 [OS/2] Bug 397514: Fix build break following for bug 96041, p=wuno, r=me 2007-09-27 09:41:46 -07:00
vladimir@pobox.com
4dd2e87496 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -07:00
vladimir@pobox.com
96a878f5a9 b=377336, win32 printing page results in excessive data spooled to printer, for real this time, r=stuart 2007-09-24 15:50:44 -07:00
roc+@cs.cmu.edu
bfd939088e Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
smontagu@smontagu.org
5066adf227 Display one hex box with six digits for non-BMP codepoints with no glyph. Bug 376532, r+sr+a=roc 2007-09-20 03:16:15 -07:00
pavlov@pavlov.net
ba97302f0b backing out 362682 due to linux tinderboxen not being upgraded... (396805, 389426) 2007-09-19 16:53:09 -07:00
pavlov@pavlov.net
7ce9ed1741 bug 362682. fix missing glyphs on linux. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-19 15:18:42 -07:00
roc+@cs.cmu.edu
559a8984a7 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
mozilla@weilbacher.org
bb46dfab9e [OS/2] Bug 395301: Move offscreen surface creation from gfxOS2Platform to gfxOS2Surface 2007-09-18 14:20:25 -07:00
roc+@cs.cmu.edu
a44b81dc92 Bug 388367. Treat form-feed as one of the characters that always breaks up textrun words and should never be passed to platform textrun code. r+a=vlad 2007-09-03 19:38:33 -07:00
tor@cs.brown.edu
280f80abef Bug 393109 - treat system colors as output device values. r+a=pavlov 2007-08-30 09:21:16 -07:00
roc+@cs.cmu.edu
863902e5d6 Bug 390234. Coalesce glyph runs after sorting them, gets them into the canonical form. Also add debug code to help track down textrun-cache related crashers. r=vlad 2007-08-26 16:44:00 -07:00
pavlov@pavlov.net
2a422a28e9 bug 388706. cache resolved fonts per language group. r=elif 2007-08-24 12:41:16 -07:00
mozilla@weilbacher.org
06cd0f29f3 [OS/2] Bug 381333: - use emHeight instead of xHeight to compute properties in case OS/2 font table is not present - use FT_LOAD_NO_SCALE before measuring characters to get font units - add adjusted size calculation similar to other platforms For some reason these changes also fix the Acid2 test. 2007-08-19 05:27:23 -07:00
vladimir@pobox.com
10ea784eab b=391583, DoesARGBImageDataHaveAlpha is slow, r=stuart,a=me 2007-08-17 12:54:58 -07:00
roc+@cs.cmu.edu
58c739db36 Bug 385719. Allow text substrings passed to gfxTextRun APIs to start or end in the middle of a cluster. r+a=pavlov 2007-08-09 18:35:32 -07:00
vladimir@pobox.com
6d5c29bde2 b=390668, crash in gfxASurface::GetType (_moz_cairo_scaled_font_status and others), often using drawWindow 2007-08-09 11:54:17 -07:00
benjamin@smedbergs.us
f8759d93ca Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
mats.palmgren@bredband.net
454cf053a6 Bail out of gfxFont::Draw if setting up the Cairo font fails. b=390476 r+sr=pavlov a19=pavlov 2007-08-06 05:30:13 -07:00
mozilla@weilbacher.org
926a5510ea [OS/2] Bug 390077: OS/2 build break after integration of lcms (work around OS/2 typedef), p=wuno, r=pavlov 2007-08-03 08:37:27 -07:00
roc+@cs.cmu.edu
917c4632c9 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
pavlov@pavlov.net
d04ad3b03b adding color management capabilities -- preffed off. bug 16769. patch from tor. r=bsmedberg, sr=me 2007-07-23 15:02:17 -07:00
ted.mielczarek@gmail.com
59fd01917d fix thunderbird bustage from bug 388663 2007-07-19 08:21:13 -07:00
pavlov@pavlov.net
5361b70e67 export thebes symbols from libxul. bug 388663. r=vlad 2007-07-18 17:13:14 -07:00
vladimir@pobox.com
4d0a020e08 b=364786, improve Mac font selection, r=masayuki,sr=roc 2007-07-18 07:22:06 -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
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
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
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
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
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
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
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
dbaron@dbaron.org
d0ed87d4da Back out bug 384836 to diagnose Tp/Tp2 regression bug 385957. 2007-06-26 15:16:34 -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
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
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
ef3b336b06 Bug 384100. Implement word-based textrun cache. r=vlad 2007-06-12 13:56:04 -07:00
pavlov@pavlov.net
098946cd3e bug 332649. improved windows font selection. r=vlad sr=roc 2007-06-10 18:31:27 -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
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
roc+@cs.cmu.edu
aceb5fce79 Fixing bustage. 2007-05-30 22:21:56 -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
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
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
2f2ce6a87a Bug 377923. Hide glyphs for \t, \r and \n under all circumstances. r=pavlov 2007-05-22 20:45:51 -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
1fb0dc7c7f Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-20 19:18:04 -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
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
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
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
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
3f27b185ee 371135, oom crashers with big images, r=stuart 2007-05-10 12:58:09 -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
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