Commit Graph

487 Commits

Author SHA1 Message Date
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
sayrer@gmail.com
53b6461aa3 backout patch for bug 375760 due to bustage. 2007-05-04 21:36:13 -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
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
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
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
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
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
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
d2337998c2 Bug 375757. Cache gfxFont objects. r=pavlov 2007-04-03 20:32:43 -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
2dd8259b3e updating our unicode range table. bug 376298. r=vlad 2007-04-02 16:19:38 -07:00
tor@cs.brown.edu
db9c79bfa1 Bug 375446 - Create gfxFontGroup factory method. r=vlad 2007-04-02 12:06:16 -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
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
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
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
e7c61031cb Bug 374720. Minor gfx changes to support new textframe work. r=pavlov 2007-03-22 16:07:18 -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