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

716 Коммитов

Автор SHA1 Сообщение Дата
smontagu%smontagu.org 963aec87a4 Display one hex box with six digits for non-BMP codepoints with no glyph. Bug 376532, r+sr+a=roc 2007-09-20 10:16:15 +00:00
pavlov%pavlov.net 672cdf445b backing out 362682 due to linux tinderboxen not being upgraded... (396805, 389426) 2007-09-19 23:53:10 +00:00
pavlov%pavlov.net 8219812b75 bug 362682. fix missing glyphs on linux. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-19 22:18:43 +00:00
roc+%cs.cmu.edu df1d8efba7 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 23:12:10 +00:00
mozilla%weilbacher.org 9033f9f847 [OS/2] Bug 395301: Move offscreen surface creation from gfxOS2Platform to gfxOS2Surface 2007-09-18 21:20:25 +00:00
masayuki%d-toybox.com e3c8963a23 Bug 380026 "text-decoration: underline" for CJK characters is positioned higher than expected r+a=vlad 2007-09-18 09:40:24 +00:00
mozilla%weilbacher.org 7197425164 [OS/2] Creation of a minimal 1x1 surface is good enough, and we always own the PS in the gfxOS2Surface(HWND) constructor. Part of work in bug 371505. 2007-09-08 15:29:21 +00:00
mozilla%weilbacher.org 8c11c15523 [OS/2] Make debug output in gfxOS2Surface a bit more useful 2007-09-08 14:50:09 +00:00
masayuki%d-toybox.com fd3b51c1c9 backing out previous checked-in, because some tests are failed in tinderbox 2007-09-05 23:46:09 +00:00
masayuki%d-toybox.com 844b8fc777 Bug 380026 'text-decoration: underline' for CJK characters is positioned higher than expected. r+a=vlad 2007-09-05 23:03:04 +00:00
jwalden%mit.edu f49fc51830 Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-05 06:41:37 +00:00
roc+%cs.cmu.edu 420d80a301 Bug 394384. Fix accounting error when tracking the number of times a textrun is referenced from the word cache. debug-only. r+a=pavlov 2007-09-04 03:40:14 +00:00
roc+%cs.cmu.edu a4389b748b 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-04 02:38:33 +00:00
masayuki%d-toybox.com 8c920b846f Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 15:27:27 +00:00
masayuki%d-toybox.com 323bfa713f Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 11:03:50 +00:00
masayuki%d-toybox.com faceb0991f Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 11:01:49 +00:00
masayuki%d-toybox.com aa9cb89e58 Bug 393819 Assertion: What's this case?: 'result == 0 || result == 1' in gfxFontconfigUtils when different fonts have a common family name. patch by Karl Tomlinson <mozbugz@karlt.net> r+a=pavlov 2007-08-31 06:30:59 +00:00
martijn.martijn%gmail.com 18b5fc684c Bug 394223 � Mingw build error in gfxWindowsFonts.cpp:1460, r+a=vlad 2007-08-31 00:09:40 +00:00
tor%cs.brown.edu e0aaed870b Bug 393109 - treat system colors as output device values. r+a=pavlov 2007-08-30 16:21:18 +00:00
pavlov%pavlov.net a97eae15a7 bug 378457. use nsAutoBuffers instead of mallocs for unsicribe item data. r=vlad, sr=bsmedberg.
original patch from David Humphrey <david.humphrey@senecac.on.ca>
2007-08-28 20:44:12 +00:00
roc+%cs.cmu.edu 6bbec1cda4 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 23:44:00 +00:00
philringnalda%gmail.com c31b668b9c Bug 379886 ��� Font preferences panel selects random fonts in cairo builds, patch by Karl Tomlinson <mozbugz@karlt.net>, r+sr=vlad/pavlov 2007-08-26 21:34:03 +00:00
smontagu%smontagu.org 3ffacb15e4 Override fLinkBefore except for the first range of an item, and fLinkAfter except for the last range. Bug 391045, r+a=pavlov 2007-08-26 17:28:56 +00:00
asqueella%gmail.com 0ea19e62b5 Bug 390787 - Many fonts and widgets do not display: assert that cairo_scaled_font_create succeeds but recover if it doesn't
p=Karl Tomlinson <mozbugz@karlt.net>
r+sr=pavlov
a=1.9 blocker
2007-08-25 18:33:45 +00:00
pavlov%pavlov.net f8e7aca77d bug 393632. cache cjk resolved font list as well. r=elif 2007-08-25 00:00:41 +00:00
pavlov%pavlov.net ebf1bf1dfa bug 393626. fixing a bug causing us to always append the system default font to the list of font entries... r=elif 2007-08-24 23:05:07 +00:00
pavlov%pavlov.net 44f4fc6a3a bug 388706. cache resolved fonts per language group. r=elif 2007-08-24 19:41:17 +00:00
mozilla%weilbacher.org e06ad8123a [OS/2] Bug 381333: replace method to scale from font units to pixels. Instead of gfxPangoFonts-like macros use the procedure outlined in the FreeType tutorial. This takes advantage of gfxFloats. 2007-08-19 12:36:21 +00:00
mozilla%weilbacher.org 073affa949 [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 12:27:30 +00:00
mozilla%weilbacher.org 38ea9bd9dc [OS/2] Bug 381333: make debug output more helpful 2007-08-19 12:05:23 +00:00
sharparrow1%yahoo.com 0859cc57d2 Bug 382458, additional patch to fix repainting problems with theming and pixel rounding. r=vlad, a=blocking1.9+ 2007-08-17 20:30:23 +00:00
vladimir%pobox.com e7ae74d226 b=391583, DoesARGBImageDataHaveAlpha is slow, r=stuart,a=me 2007-08-17 19:55:00 +00:00
masayuki%d-toybox.com 65dfc1fb74 Bug 365414 overflowed decoration lines are not erased/painted r+sr=roc 2007-08-14 16:39:55 +00:00
mats.palmgren%bredband.net 9feeb0b0c4 Bustage fix. b=391243 2007-08-14 11:46:26 +00:00
mats.palmgren%bredband.net f7d6a8381f Don't crash when CurrentSurface() or GetDC() return null. b=391243 r+sr+a=vladimir 2007-08-14 09:47:37 +00:00
pavlov%pavlov.net 5bed14625c make bitmap fonts support their space character. bug 386389. r=vlad 2007-08-10 20:00:03 +00:00
roc+%cs.cmu.edu 67cb988c94 Bug 391068. Fix ATSUI cluster analysis loop. r=vlad,a=pavlov 2007-08-10 02:24:38 +00:00
roc+%cs.cmu.edu 9feffdc761 Bug 385719. Allow text substrings passed to gfxTextRun APIs to start or end in the middle of a cluster. r+a=pavlov 2007-08-10 01:35:32 +00:00
vladimir%pobox.com e3bb5d1251 b=390668, crash in gfxASurface::GetType (_moz_cairo_scaled_font_status and others), often using drawWindow 2007-08-09 18:54:19 +00:00
vladimir%pobox.com cc87109165 b=383512, make (win32) gfx support text drawing onto any surface type, r/a=stuart 2007-08-07 22:46:42 +00:00
benjamin%smedbergs.us a311b83259 Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 20:13:19 +00:00
mats.palmgren%bredband.net 18b4ec129e Bail out of gfxFont::Draw if setting up the Cairo font fails. b=390476 r+sr=pavlov a19=pavlov 2007-08-06 12:30:15 +00:00
masayuki%d-toybox.com 747a29fe1a The additional patch for bug 364786 r=vlad 2007-08-03 18:37:50 +00:00
mozilla%weilbacher.org 630c726edf [OS/2] Bug 390077: OS/2 build break after integration of lcms (work around OS/2 typedef), p=wuno, r=pavlov 2007-08-03 15:37:27 +00:00
vladimir%pobox.com 80d6a3239f b=390202, trunk topcrash gfxFont::Draw, r=stuart,a=damon 2007-07-31 20:34:43 +00:00
roc+%cs.cmu.edu e034b1023e Trivial fix that should fix Linux reftests 2007-07-26 11:22:57 +00:00
roc+%cs.cmu.edu 8477256fc6 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 09:47:45 +00:00
vladimir%pobox.com af44235d8f b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 18:21:35 +00:00
jwalden%mit.edu 641f7e64d8 --enable-tests bustage fix, after color management landing. r=sparky 2007-07-24 01:06:07 +00:00
pavlov%pavlov.net 041108163b adding color management capabilities -- preffed off. bug 16769. patch from tor. r=bsmedberg, sr=me 2007-07-23 22:02:20 +00:00
longsonr%gmail.com 7c247a907f Bug 388385 - Memory leak with SVG patterns and clipPaths. r+sr=vladimir 2007-07-23 08:54:52 +00:00
ted.mielczarek%gmail.com 28e29bc0ec fix thunderbird bustage from bug 388663 2007-07-19 15:21:13 +00:00
pavlov%pavlov.net c74198dad9 export thebes symbols from libxul. bug 388663. r=vlad 2007-07-19 00:13:14 +00:00
benjamin%smedbergs.us 0c2f7fc337 Bug 388542 - --disable-libxul broken in thebes (in some circumstances), r=vlad 2007-07-18 15:52:41 +00:00
vladimir%pobox.com 70d4f6641f b=364300, monospace font sometimes isn't with ATSUI, breaking cols attribute of textarea, r+sr=roc 2007-07-18 14:41:40 +00:00
vladimir%pobox.com c3913871bc b=364786, improve Mac font selection, r=masayuki,sr=roc 2007-07-18 14:22:07 +00:00
vladimir%pobox.com 59bcd9c96a b=386895, speed up gfx text rendering (microbenchmark), r=roc 2007-07-17 23:13:48 +00:00
dbaron%dbaron.org 9c3cfde5da 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 21:58:46 +00:00
roc+%cs.cmu.edu ef59b67ebe Adding comment. 2007-07-16 23:45:16 +00:00
roc+%cs.cmu.edu ca33eb1043 Fixing reftest failure, hopefully. r=pavlov 2007-07-16 23:44:41 +00:00
roc+%cs.cmu.edu 1a61a026d8 Bug 386920. Preserve line-break data when copying glyphs. r=pavlov 2007-07-16 22:50:35 +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
smontagu%smontagu.org ed669580fb Process glyphs in right-to-left clusters in reverse order. Bug 387653, r=vlad 2007-07-16 06:18:08 +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
pavlov%pavlov.net f8138088bb re-enabling kerning on the mac. bug 387197. r=vlad 2007-07-11 17:41:26 +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
smontagu%smontagu.org 1c02d29d91 Add an mIsRTL flag to the textrun word cache hash key. Bug 386339, r+sr=roc 2007-07-06 05:52:56 +00:00
mozilla%weilbacher.org 251c180c95 [OS/2] Fix build break in gfxOS2Fonts.cpp (mimic gfxPangoFonts change that supposedly came from Bug 385423) 2007-07-05 20:50:44 +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
roc+%cs.cmu.edu 69671fd285 Bug 386804. Make 'cache not empty' assertion into a warning. r=vlad 2007-07-05 03:05:06 +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 cbb0f270bd Fixing bustage 2007-07-04 04:07:01 +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
longsonr%gmail.com dc617516de Bug 385228 - ASSERTION: Surface size too large (would overflow) - change asserts to warnings. r+sr=vladimir 2007-07-03 09:16:50 +00:00
roc+%cs.cmu.edu a265318c19 Bug 386122. Make textrun storage metrics only defined for DEBUG_roc. 2007-07-02 01:24:56 +00:00
roc+%cs.cmu.edu 557550c8ff Bug 9101. Fix BreakAndMeasureText to save/restore hyphenation state correctly. r=pavlov 2007-07-02 01:12:45 +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
mozilla%weilbacher.org 80a6fb775c [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 20:20:51 +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
pavlov%pavlov.net 8351e13acb removing printf 2007-06-27 00:52:41 +00:00
pavlov%pavlov.net e97e0a61e8 make sure the length is >= the data we're reading before we read it. hoping to fix 382713. r=roc 2007-06-27 00:34:52 +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
mozilla%weilbacher.org 3832ac433c [OS/2] Fix stupidities about scales when computing font metrics, part of work on Bug 381333 2007-06-24 11:10:03 +00:00
mozilla%weilbacher.org f4da1d6133 [OS/2] Improve weight matching when creating cairo font, part of work on Bug 381333 2007-06-24 10:00:50 +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
mats.palmgren%bredband.net e06b567c06 Don't return values outside the range for PangoWeight (100..900). b=335543 r+sr=vladimir 2007-06-19 03:08:29 +00:00
bzbarsky%mit.edu f6a1612e27 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 14:58:29 +00:00
pavlov%pavlov.net 7f2423b336 bug 342466. make font fallback deterministic. r=vlad 2007-06-15 21:48:59 +00:00
mozilla%weilbacher.org 923973169f [OS/2] Bug 371505: check in preliminary workarounds for Thebes repaint problems based on ideas from Andy Willis 2007-06-14 20:38:56 +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 f57692b215 use the right length when iterating over the string. bug 384094. r=vlad 2007-06-12 18:54:41 +00:00
pavlov%pavlov.net fb687e99cf Force us to select the same font if we're around joiners. bug 384096. r=vlad 2007-06-12 18:52:32 +00:00
pavlov%pavlov.net c9f89e7baf initing uninited variables. r=me 2007-06-12 08:39:18 +00:00
pavlov%pavlov.net 7b2ac9df43 build bustage fix. 2007-06-11 01:45:41 +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 f306f5cb35 Bug 383548. Add MOZ_COUNT_CTOR/DTOR to help track gfxTextRun memory usage. r=pavlov 2007-06-10 23:07:29 +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
masayuki%d-toybox.com 9cfe396adc Bug 374251 r=vlad 2007-06-07 19:14:07 +00:00
roc+%cs.cmu.edu 377b5242d9 Bug 381654. Initialize PangoAnalysis fields robustly. patch by Karl Tomlinson, r+sr=roc 2007-06-07 03:29:34 +00:00
longsonr%gmail.com 242e70f2bd Bug 379284 - Support font-weight='lighter' on Windows. r=vladimir,sr=roc 2007-06-05 09:29:11 +00:00
martijn.martijn%gmail.com 99cd9a8181 Fix mingw build issue from Bug 377950 - Need to get real cmaps from fonts, r+sr=pavlov 2007-06-02 10:12:40 +00:00
roc+%cs.cmu.edu 65a6207513 Fixing bustage. 2007-05-31 05:21:56 +00:00
roc+%cs.cmu.edu f35b5a431f 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-31 05:04:24 +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 1af93cd30c b=348462, clamp font size to a lower value; r=stuart 2007-05-30 08:32:50 +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 d4dd2c21eb 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 09:47:54 +00:00
mozilla%weilbacher.org 5a2d1c3221 [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 22:00:00 +00:00
vladimir%pobox.com 63dd0cf3e5 b=375047, fragile pango initialization, r=roc 2007-05-23 03:57:34 +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 85c24b857c Bug 377717 again, if this doesn't go green i'll back out 2007-05-21 02:57:10 +00:00
jminta%gmail.com 7bf82b348d try again 2007-05-21 02:45:45 +00:00
jminta%gmail.com dfb4928761 bustage fix from Bug 377717 2007-05-21 02:42:02 +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 e4ec9ff229 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-21 02:02:16 +00:00
roc+%cs.cmu.edu 006e40ca97 Bug 380484. Don't divide by zero if a font has a really small maxAdvance. r=vlad 2007-05-21 01:56:10 +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 a6b13d4737 b=380494, followup for zero-sized surfaces; allow zero-sized image surfaces to be created, r+sr=roc 2007-05-20 22:46:53 +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
mozilla%weilbacher.org 7208756028 [OS/2] Bug 371504: Makefile additions for Thebes on OS/2, r=vlad 2007-05-20 13:28:12 +00:00
roc+%cs.cmu.edu 2fa939ffd5 Not (Really) Part Of The Build. Fix shortcut calculation that was causing random crashes with new textframe. 2007-05-17 05:18:21 +00:00
vladimir%pobox.com 770ff41178 b=380494, allow zero-width/height surfaces (crash moz_cairo_win32_surface_get_image etc.), r+sr=roc 2007-05-15 20:27:10 +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 02a975fc9b 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-15 03:09:16 +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
asqueella%gmail.com 337f2fc2d7 Bug 380153 - SetupClusterBoundaries uses unset attrs from pango_break after NUL.
p=Karl Tomlinson <mozbugz@karlt.net>
r=roc
2007-05-13 12:31:24 +00:00
asqueella%gmail.com 8112731cc3 Bug 375864 - Crash [@ gfxTextRun::CompressedGlyph::IsClusterStart] when viewing URL as UTF-16
p=Karl Tomlinson <mozbugz@karlt.net>
r+sr=roc
2007-05-13 11:32:43 +00:00
roc+%cs.cmu.edu 1f21d04f17 Bug 380210. Fix appunits to Pango units conversions (only affects newtextframe). r=vlad 2007-05-12 05:54:31 +00:00
roc+%cs.cmu.edu f975e202d8 Bug 380210. Make sure that a null PropertyProvider always means 'no spacing' without crashing. r=vlad 2007-05-12 05:53:29 +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 b25cf55244 more bustage fix 2007-05-10 20:20:08 +00:00
vladimir%pobox.com 78f24f2726 X11 blows; bustage fix for linux 2007-05-10 20:19:04 +00:00
vladimir%pobox.com 5daf9003b4 mac bustage fix 2007-05-10 20:12:24 +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
smontagu%smontagu.org 7e7f373009 Assert on null gfxContext. Bug 377918, r+sr=roc 2007-05-06 10:41:27 +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 234dc97288 Fixing bustage 2007-05-05 03:23:53 +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
asqueella%gmail.com 79d445cbf1 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 07:00:09 +00:00
asqueella%gmail.com ae7e6769af Bug 379433 - PangoItem and GList memory leaks in gfxPangoFonts
p=Karl Tomlinson <mozbugz@karlt.net>
r=vlad
2007-05-04 06:51:04 +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
gavin%gavinsharp.com 13927965b0 Bug 378695: SetupClusterBoundaries in gfxPangoFonts.cpp misinterprets attrs from pango_break, patch by Karl Tomlinson <mozbugz@karlt.net>, r=roc 2007-05-02 20:35:08 +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 02d6d2ee2d Don't call GDI 'A' functions for non-ASCII strings. Bug 378859, r+sr=roc 2007-04-26 14:37:11 +00:00
asqueella%gmail.com e5b029d8ad Bug 366643 - Crash after loading page with html entities and <img> tag
p=Philip Taylor <philip@zaynar.demon.co.uk>
r=pavlov
2007-04-25 21:02:50 +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
benjamin%smedbergs.us 3fb4912f5d 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 14:22:04 +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
smontagu%smontagu.org 3ae8b32072 Remove one incorrect assertion and temporarily comment out one that fires too often. Bug 377898, bug 377902, r+sr=roc 2007-04-19 09:04:10 +00:00
roc+%cs.cmu.edu ea7bca6f57 Bug 377942. Don't treat 8-bit non-ASCII text as UTF8. r+sr=roc, patch by Karl Tomlinson 2007-04-18 21:22:42 +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
roc+%cs.cmu.edu 87c3e28dcf Bug 376534. Improve the display of 8s in our missing-glyph-boxes. r=pavlov 2007-04-13 16:48:59 +00:00
roc+%cs.cmu.edu e9d3e75e92 Bug 377053. Don't return a local string object to callers of gfxQuartzFontCache::GetPostscriptNameForFontID. r=vlad 2007-04-12 00:19:35 +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
martijn.martijn%gmail.com 81d44fe91f Bug 375506 � Fix for bug 372629 breaks Mingw - build error in gfxWindowsFonts.cpp, r=roc 2007-04-04 18:42:21 +00:00
roc+%cs.cmu.edu a09f2e9c9c Bug 375757. Cache gfxFont objects. r=pavlov 2007-04-04 03:32:43 +00:00
roc+%cs.cmu.edu 5ec7d3d207 Bug 375768. Fix minor textrun-related bugs, only affects new textframe. r=pavlov 2007-04-04 02:26:02 +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 0f6efe408e fixing bug causing font-weight: 900 to not be bold. bug 359542. r=vlad 2007-04-03 20:11:25 +00:00
vladimir%pobox.com bd9c16de73 more backouts 2007-04-03 19:43:13 +00:00
vladimir%pobox.com b36706ff6e backing out 374462 2007-04-03 19:21:54 +00:00
vladimir%pobox.com bddceaca6d b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 18:59:50 +00:00
benjamin%smedbergs.us fafcdf1f17 Fix thebes tests when --enable-static, r=luser 2007-04-03 16:00:31 +00:00
pavlov%pavlov.net 35ba29035c fixing font selection bug dealing with zero-width glyphs and begin using ScriptGetCMap when possible. bug 376300. r=roc 2007-04-03 06:32:23 +00:00
roc+%cs.cmu.edu e3b972af6e 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-03 03:19:46 +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
benjamin%smedbergs.us 75abd12a22 Bug 374921 - link error in gfxSurfaceRefCountTest when libxul is enabled, r=roc 2007-04-02 16:09:05 +00:00
dbaron%dbaron.org f43cf05f5a Restore commented-out code now that bug 375824 is fixed. b=374680 2007-03-30 22:04:32 +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 2dda45ed64 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 23:54:32 +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
roc+%cs.cmu.edu 71706658c9 Fix bustage. 2007-03-28 03:59:09 +00:00
roc+%cs.cmu.edu 4ef80e5743 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-28 03:41:53 +00:00
roc+%cs.cmu.edu 8e97d42264 Backing out attempted fix for Windos reftests. I'll follow up with a real fix. 2007-03-28 00:05:06 +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 26204d6dc0 Bug 372629. Try to fix Windows reftests by special-casing ZWSP to never display a missing-glyph box. 2007-03-27 04:46:25 +00:00
roc+%cs.cmu.edu 33ca4e27f6 Bug 372629. Try to fix Windows reftests by special-casing ZWSP to never display a missing-glyph box. 2007-03-27 04:34:49 +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 436d46a820 Bug 372631. Hopefully fix Windows Tp performance by switching from GetCharacterPlacement to GetGlyphIndices/GetTextExtentExPointI. r=pavlov 2007-03-26 22:48:42 +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 676199d021 Bug 374830. gfxTextRun performance test harness. r=vlad 2007-03-22 23:04:48 +00:00
dbaron%dbaron.org 264069d99f 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
tor%cs.brown.edu 5702599b35 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 5c0cb5339d Bug 374567. Make GetDevUnitsPerAppUnit return a PRUint32. r=pavlov 2007-03-20 08:58:53 +00:00
roc+%cs.cmu.edu 08c2da68e4 Bug 374580. Fix embarrassing RTL regression on Mac. r=pavlov 2007-03-20 08:50:43 +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
dbaron%dbaron.org 60db5e5d36 Fix leak of cairo_font_face_t. b=374286 r=vlad 2007-03-19 23:14:33 +00:00
roc+%cs.cmu.edu 764396d085 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 31f2a7dcb2 Bug 373010 � Mingw build failure in mozilla/gfx/thebes/src/gfxWindowsFonts.cpp, r+sr=pavlov 2007-03-14 17:33:53 +00:00
pavlov%pavlov.net 19383b7345 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 edb928db18 Fixing bustage 2007-03-04 21:12:24 +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
bzbarsky%mit.edu 215cac9b79 Address review comment from dbaron. Bug 330064 2007-03-03 04:57:48 +00:00
bzbarsky%mit.edu b3997a811a 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 053a01ea6a fix tree bustage 2007-03-03 00:25:44 +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 21fae80273 removing gfx REQUIRES from thebes. bug 372313. r=vlad 2007-03-02 22:41:06 +00:00
pavlov%pavlov.net d22aa91e56 adding back gfx to requires. mistakenly removed during last checkin 2007-03-01 00:21:28 +00:00
pavlov%pavlov.net 6f7242c36f enabling PDF surface on windows. bug 369930. r/sr=vlad 2007-03-01 00:02:27 +00:00
mats.palmgren%bredband.net 842b434e75 Fix GCC compile error on Windows. r+sr=pavlov 2007-02-27 22:18: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
jruderman%hmc.edu b07921f5f2 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
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
bzbarsky%mit.edu 19eaf3ad82 Flag 8-bit ATSUI text too. Bug 368799. 2007-02-09 02:51:06 +00:00
bzbarsky%mit.edu 56dd1e054f Fixing Mac bustage and adding a flag per roc. Bug 368799. 2007-02-09 02:27:53 +00:00
bzbarsky%mit.edu 5b5ea527c2 Build bustage fix, bug 368799. 2007-02-09 02:19:10 +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 c155f01420 Bug 369198 some characters missing at drawing r=roc 2007-02-05 03:11:53 +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