Граф коммитов

301 Коммитов

Автор SHA1 Сообщение Дата
vladimir%pobox.com c3913871bc b=364786, improve Mac font selection, r=masayuki,sr=roc 2007-07-18 14:22:07 +00:00
roc+%cs.cmu.edu 8ad768a282 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 22:49:11 +00:00
roc+%cs.cmu.edu 57913dde6c Bug 387867. Rename DISABLE_LIGATURES to DISABLE_OPTIONAL_LIGATURES and make the ATSUI code only disable optional ligatures. r=pavlov 2007-07-13 08:09:28 +00:00
pavlov%pavlov.net 01e3955d34 speed up setting of code points. bug 386375. r=vlad 2007-07-12 18:14:59 +00:00
jwalden%mit.edu ef68fcf595 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 07:08:56 +00:00
roc+%cs.cmu.edu 2a49badb09 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-05 03:07:25 +00:00
vladimir%pobox.com 0860c79031 b=361695, [mac] bidi mirroring proken with some fonts, r=vladimir, patch from jdaggett@mozilla.com 2007-07-04 09:19:27 +00:00
roc+%cs.cmu.edu 8394f8779a 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-04 03:39:03 +00:00
roc+%cs.cmu.edu 6169c9b8b1 Bug 386211. Turn 'fonts still alive' assertion into a warning. r=vlad 2007-07-04 03:24:04 +00:00
mozilla%weilbacher.org 339dec05b3 [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 22:19:14 +00:00
sharparrow1%yahoo.com f5a244bb2d Bug 382458: Fix rounding problems in Windows theme rendering. r+sr=roc. 2007-06-27 16:42:38 +00:00
roc+%cs.cmu.edu fdcb16906c Bug 384836. Relanding fix to pass around gfxContexts a bit more instead of hanging on to one in nsTransformedTextRun. r=smontagu,pavlov 2007-06-27 04:22:21 +00:00
dbaron%dbaron.org a483d6b35e Back out bug 384836 to diagnose Tp/Tp2 regression bug 385957. 2007-06-26 22:16:35 +00:00
roc+%cs.cmu.edu d770f6750b 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-26 04:25:01 +00:00
pavlov%pavlov.net d7a28622c5 fixing symbol fonts, bitmap fonts and a crash. bugs 385793, 324706, 385795. r=vlad 2007-06-25 21:51:15 +00:00
roc+%cs.cmu.edu 6480a63ae1 Bug 385123. Don't insert spaces after holes while we build a textrun. r=vlad 2007-06-20 19:49:34 +00:00
philringnalda%gmail.com ab1cb84ef0 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-19 04:19:01 +00:00
pavlov%pavlov.net 7fb1999638 minor cleanup to make the code more readable. bug 384363. r=vlad 2007-06-13 23:28:25 +00:00
roc+%cs.cmu.edu 5bd0790ac0 Bug 384100. Implement word-based textrun cache. r=vlad 2007-06-12 20:56:05 +00:00
pavlov%pavlov.net 5da0f3516b bug 332649. improved windows font selection. r=vlad sr=roc 2007-06-11 01:31:28 +00:00
roc+%cs.cmu.edu cc89ed7eb5 Bug 383548. Assert that textrun cache is empty before it is destroyed. r=pavlov 2007-06-10 23:06:03 +00:00
mats.palmgren%bredband.net e3517d0ca0 Clamp final font size (after font-size-adjust) to a reasonable value. b=383473 r+sr=vladimir 2007-06-08 08:22:04 +00:00
roc+%cs.cmu.edu 65a6207513 Fixing bustage. 2007-05-31 05:21:56 +00:00
roc+%cs.cmu.edu f5dea68223 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-31 05:01:57 +00:00
roc+%cs.cmu.edu 2a3bfee38b Not (Really) Part Of The Build. Comment and whitespace changes only. More specific documentation for gfxSkipChars. 2007-05-30 22:20:11 +00:00
vladimir%pobox.com df9864d5ba b=368247, new border rendering approach, r+sr=roc 2007-05-30 02:46:54 +00:00
pavlov%pavlov.net 02452dfe95 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-30 00:07:03 +00:00
benjamin%smedbergs.us d5f66c9e77 Backout bug 377950 due to startup crashes. 2007-05-29 15:09:23 +00:00
pavlov%pavlov.net 765f18ce7f 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 10:24:17 +00:00
roc+%cs.cmu.edu 03428b2a01 Bug 377923. Hide glyphs for \t, \r and \n under all circumstances. r=pavlov 2007-05-23 03:45:52 +00:00
roc+%cs.cmu.edu e4955b1044 Bug 381127. Add whitespace trimming capability to BreakAndMeasureText. r=pavlov 2007-05-22 23:40:07 +00:00
roc+%cs.cmu.edu a2c6a534d5 Bug 381128. Remove gfxPangoFonts::Measure, it's kinda broken and not all that helpful right now. r=pavlov 2007-05-22 23:33:19 +00:00
tor%cs.brown.edu 5bed159118 Bug 380071 - add cairo_clip_extents() functionality to thebes. r=vlad 2007-05-22 19:30:04 +00:00
jminta%gmail.com 62aed7c06f Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-21 02:18:05 +00:00
roc+%cs.cmu.edu dfc119def4 Bug 380210. Time out fonts after 30 seconds, not 3 seconds. r=vlad 2007-05-21 01:54:13 +00:00
vladimir%pobox.com 2c0c44d995 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 22:41:21 +00:00
mozilla%weilbacher.org c5e4015252 [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 13:45:49 +00:00
roc+%cs.cmu.edu f0c99ae7eb Bug 380692. Change gfxTextRun API so the textrun copies text, if necessary, instead of the caller having to do it. r=vlad 2007-05-15 03:56:48 +00:00
roc+%cs.cmu.edu 1e91656fd6 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-15 03:06:52 +00:00
roc+%cs.cmu.edu 64d540a3a5 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-15 02:54:21 +00:00
roc+%cs.cmu.edu 39384e1108 Bug 380210. Fix some incorrect comments and identifiers regarding units. r=vlad 2007-05-12 05:52:43 +00:00
roc+%cs.cmu.edu 3477f8c306 Bug 380451. Store hashcode in textrun to avoid accessing deleted text. r=vlad 2007-05-12 05:51:15 +00:00
vladimir%pobox.com 36765bfdfa X11 needs to be taken out behind the barn and shot, r=me 2007-05-10 20:50:16 +00:00
vladimir%pobox.com 7e9f39217c more bustage fix 2007-05-10 20:41:40 +00:00
vladimir%pobox.com 2d2aa10572 371135, oom crashers with big images, r=stuart 2007-05-10 19:58:09 +00:00
roc+%cs.cmu.edu c9b1752ce1 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 20:33:17 +00:00
roc+%cs.cmu.edu 9604a69b0d Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-08 22:46:15 +00:00
masayuki%d-toybox.com a506775fa8 Bug 357637 Loading time (Tp) of pages with Chinese text is unbearable r=vlad 2007-05-08 15:33:52 +00:00
asqueella%gmail.com 0211724053 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 18:19:17 +00:00
sayrer%gmail.com a892e42a14 backout patch for bug 375760 due to bustage. 2007-05-05 04:37:50 +00:00
roc+%cs.cmu.edu 9cbd608de4 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-05 02:16:17 +00:00
masayuki%d-toybox.com 2716da7a44 b=357637 backing out 2007-05-04 10:46:08 +00:00
masayuki%d-toybox.com 55c73aa92a Bug 357637 Loading time (Tp) of pages with Chinese text is unbearable r=vlad 2007-05-04 10:02:54 +00:00
masayuki%d-toybox.com e9a5390826 b=357637 backing-out the previous patch 2007-05-02 21:57:57 +00:00
masayuki%d-toybox.com 8a7e065773 Bug 357637 Loading time (Tp) of pages with Chinese text is unbearable (caching the pango fonts) r=vlad 2007-05-02 21:13:06 +00:00
vladimir%pobox.com 5dedab3707 b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron 2007-05-01 03:31:25 +00:00
smontagu%smontagu.org faff1b304a Reverse the sign of mXOffset in RTL runs so that the offset is always from left to right. Bug 378351, r=roc 2007-04-25 06:59:34 +00:00
roc+%cs.cmu.edu 10723ae4bd Bug 372838. Make win32 fonts scale properly in cairo, and make gfxWindowsFont always use the identity matrix for measuring. r=pavlov 2007-04-21 00:53:00 +00:00
tor%cs.brown.edu 109b445c9c Bug 376927 - add path flattening API to thebes. r=vlad 2007-04-16 20:18:32 +00:00
dbaron%dbaron.org 72339fc24b Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 22:23:00 +00:00
neil%parkwaycc.co.uk 165cfd39f2 Followup to bug 375446 - gfxFontStyle is a struct, not a class rs=tor 2007-04-05 13:36:04 +00:00
roc+%cs.cmu.edu a09f2e9c9c Bug 375757. Cache gfxFont objects. r=pavlov 2007-04-04 03:32:43 +00:00
vladimir%pobox.com 0ec62b8c64 b=374462, update cairo to 1.4.2, r=stuart 2007-04-04 01:09:16 +00:00
pavlov%pavlov.net 373271f3f6 updating our unicode range table. bug 376298. r=vlad 2007-04-02 23:19:38 +00:00
tor%cs.brown.edu ad461522a0 Bug 375446 - Create gfxFontGroup factory method. r=vlad 2007-04-02 19:06:17 +00:00
roc+%cs.cmu.edu b5cfdcb5bf Bug 375824. Centralize Thebes startup/shutdown sequence. r=vlad 2007-03-29 21:48:47 +00:00
roc+%cs.cmu.edu 5a0068600c 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 20:53:47 +00:00
dbaron%dbaron.org d2a7c1e86a Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 15:35:02 +00:00
longsonr%gmail.com c472eb4643 Bug 375387 - make gfxMatrix::IsSingular const. r+sr=pavlov 2007-03-27 11:07:10 +00:00
roc+%cs.cmu.edu 6812823750 Bug 372629. Draw missing-glyph boxes with the Unicode character inscribed in hex. r=pavlov 2007-03-27 03:24:49 +00:00
roc+%cs.cmu.edu 40f3dee14c Bug 374720. Minor gfx changes to support new textframe work. r=pavlov 2007-03-22 23:07:18 +00:00
roc+%cs.cmu.edu 5c0cb5339d Bug 374567. Make GetDevUnitsPerAppUnit return a PRUint32. r=pavlov 2007-03-20 08:58:53 +00:00
roc+%cs.cmu.edu 0ebb5c74e7 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 1684358a66 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 2056cf849a 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 9663ffd074 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 25c6056801 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
dbaron%dbaron.org b77ebfb375 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
roc+%cs.cmu.edu 5bc2d1ec5c 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
vladimir%pobox.com 5a5590516a 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 6f7242c36f enabling PDF surface on windows. bug 369930. r/sr=vlad 2007-03-01 00:02:27 +00:00
mozilla%weilbacher.org 19e9208204 [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
pavlov%pavlov.net 179b027ddd removing unused files r=vlad 2007-02-15 00:31:54 +00:00
roc+%cs.cmu.edu 052b758c05 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
roc+%cs.cmu.edu 8841c2301a 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 9508f0cb30 thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 21:18:08 +00:00
pavlov%pavlov.net 95e12e6c06 thebes API cleanup. bug 368910. r/sr=vlad 2007-02-08 20:47:48 +00:00
dbaron%dbaron.org 1c867cd473 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
sharparrow1%yahoo.com c78720aa24 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
masayuki%d-toybox.com 33c7fb727a Bug 365236 Implement font-size-adjust on Mac r=vlad 2007-02-02 00:46:48 +00:00
asqueella%gmail.com bd55f067c6 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
roc+%cs.cmu.edu 414eba8c3e Bug 368468. Make code conform to Thebes style. r=pavlov 2007-01-30 19:49:16 +00:00
masayuki%d-toybox.com 3e3c757937 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 72cd3052d0 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 7ea2cdece9 Fix typo. r=stuart (no bug) 2007-01-29 19:49:23 +00:00
mozilla%weilbacher.org db1b25f6fd [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
pavlov%pavlov.net 0852866e39 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 2e8b466471 temp bustage fix 2007-01-27 01:48:33 +00:00
pavlov%pavlov.net 559d925364 adding finish method to gfxASurface 2007-01-27 01:46:14 +00:00
pavlov%pavlov.net b23f38fda6 stop exporting cairo headers from thebes headers. bug 368377. r=vlad 2007-01-27 01:26:49 +00:00