roc+@cs.cmu.edu
78b2205f35
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
fd5e5e7f40
b=390668, crash in gfxASurface::GetType (_moz_cairo_scaled_font_status and others), often using drawWindow
2007-08-09 11:54:17 -07:00
vladimir@pobox.com
58a4456f21
b=383512, make (win32) gfx support text drawing onto any surface type, r/a=stuart
2007-08-07 15:46:42 -07:00
benjamin@smedbergs.us
6586a4906f
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
c7a065333e
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
masayuki@d-toybox.com
e5886b0e9f
The additional patch for bug 364786 r=vlad
2007-08-03 11:37:50 -07:00
mozilla@weilbacher.org
38a9631be0
[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
vladimir@pobox.com
a1b1f3a563
b=390202, trunk topcrash gfxFont::Draw, r=stuart,a=damon
2007-07-31 13:34:43 -07:00
roc+@cs.cmu.edu
e81335e2c5
Trivial fix that should fix Linux reftests
2007-07-26 04:22:57 -07:00
roc+@cs.cmu.edu
9562390da7
Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky
2007-07-26 02:47:43 -07:00
vladimir@pobox.com
a232b51aff
b=339553, drawString enhancement for canvas, r=me; patch from robarnold
2007-07-25 11:21:34 -07:00
jwalden@mit.edu
b7162001e8
--enable-tests bustage fix, after color management landing. r=sparky
2007-07-23 18:06:07 -07:00
pavlov@pavlov.net
5d187e457e
adding color management capabilities -- preffed off. bug 16769. patch from tor. r=bsmedberg, sr=me
2007-07-23 15:02:17 -07:00
longsonr@gmail.com
ddf6d442a5
Bug 388385 - Memory leak with SVG patterns and clipPaths. r+sr=vladimir
2007-07-23 01:54:52 -07:00
ted.mielczarek@gmail.com
282070c07b
fix thunderbird bustage from bug 388663
2007-07-19 08:21:13 -07:00
pavlov@pavlov.net
d514f3abe9
export thebes symbols from libxul. bug 388663. r=vlad
2007-07-18 17:13:14 -07:00
benjamin@smedbergs.us
0e024a570c
Bug 388542 - --disable-libxul broken in thebes (in some circumstances), r=vlad
2007-07-18 08:52:41 -07:00
vladimir@pobox.com
f2536cca83
b=364300, monospace font sometimes isn't with ATSUI, breaking cols attribute of textarea, r+sr=roc
2007-07-18 07:41:40 -07:00
vladimir@pobox.com
90e0f218f9
b=364786, improve Mac font selection, r=masayuki,sr=roc
2007-07-18 07:22:06 -07:00
vladimir@pobox.com
eebcddadb8
b=386895, speed up gfx text rendering (microbenchmark), r=roc
2007-07-17 16:13:48 -07:00
dbaron@dbaron.org
165c686649
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 14:58:45 -07:00
roc+@cs.cmu.edu
94b70c36bd
Adding comment.
2007-07-16 16:45:16 -07:00
roc+@cs.cmu.edu
bf6708d519
Fixing reftest failure, hopefully. r=pavlov
2007-07-16 16:44:41 -07:00
roc+@cs.cmu.edu
0e49e842e8
Bug 386920. Preserve line-break data when copying glyphs. r=pavlov
2007-07-16 15:50:35 -07:00
roc+@cs.cmu.edu
5d094d6109
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
smontagu@smontagu.org
e90ebf5ff3
Process glyphs in right-to-left clusters in reverse order. Bug 387653, r=vlad
2007-07-15 23:18:08 -07:00
roc+@cs.cmu.edu
9fb0dfd8be
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
8e8284090f
speed up setting of code points. bug 386375. r=vlad
2007-07-12 11:14:59 -07:00
pavlov@pavlov.net
1109afef83
re-enabling kerning on the mac. bug 387197. r=vlad
2007-07-11 10:41:26 -07:00
jwalden@mit.edu
6d7584839a
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
smontagu@smontagu.org
89dce7670f
Add an mIsRTL flag to the textrun word cache hash key. Bug 386339, r+sr=roc
2007-07-05 22:52:56 -07:00
mozilla@weilbacher.org
3c0456cebe
[OS/2] Fix build break in gfxOS2Fonts.cpp (mimic gfxPangoFonts change that supposedly came from Bug 385423)
2007-07-05 13:50:44 -07:00
roc+@cs.cmu.edu
2d67bd54a6
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
roc+@cs.cmu.edu
759cf0bc6a
Bug 386804. Make 'cache not empty' assertion into a warning. r=vlad
2007-07-04 20:05:06 -07:00
vladimir@pobox.com
a94df110cd
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
9e69ea1eed
Fixing bustage
2007-07-03 21:07:01 -07:00
roc+@cs.cmu.edu
2fbe7e618c
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
f013012704
Bug 386211. Turn 'fonts still alive' assertion into a warning. r=vlad
2007-07-03 20:24:04 -07:00
longsonr@gmail.com
c6d03fa523
Bug 385228 - ASSERTION: Surface size too large (would overflow) - change asserts to warnings. r+sr=vladimir
2007-07-03 02:16:50 -07:00
roc+@cs.cmu.edu
428cb93464
Bug 386122. Make textrun storage metrics only defined for DEBUG_roc.
2007-07-01 18:24:56 -07:00
roc+@cs.cmu.edu
aa2684add0
Bug 9101. Fix BreakAndMeasureText to save/restore hyphenation state correctly. r=pavlov
2007-07-01 18:12:45 -07:00
mozilla@weilbacher.org
1f38fc4741
[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
mozilla@weilbacher.org
b852883af2
[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 13:20:51 -07:00
sharparrow1@yahoo.com
761d1c97af
Bug 382458: Fix rounding problems in Windows theme rendering. r+sr=roc.
2007-06-27 09:42:37 -07:00
roc+@cs.cmu.edu
a8c03abdb3
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
pavlov@pavlov.net
97294941c0
removing printf
2007-06-26 17:52:41 -07:00
pavlov@pavlov.net
30caa5514b
make sure the length is >= the data we're reading before we read it. hoping to fix 382713. r=roc
2007-06-26 17:34:52 -07:00
dbaron@dbaron.org
ebcc8539e8
Back out bug 384836 to diagnose Tp/Tp2 regression bug 385957.
2007-06-26 15:16:34 -07:00
roc+@cs.cmu.edu
87eb460430
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
67c1543c12
fixing symbol fonts, bitmap fonts and a crash. bugs 385793, 324706, 385795. r=vlad
2007-06-25 14:51:15 -07:00
mozilla@weilbacher.org
8ff25b10f1
[OS/2] Fix stupidities about scales when computing font metrics, part of work on Bug 381333
2007-06-24 04:10:03 -07:00
mozilla@weilbacher.org
8588b94062
[OS/2] Improve weight matching when creating cairo font, part of work on Bug 381333
2007-06-24 03:00:50 -07:00
roc+@cs.cmu.edu
1192ae8bd6
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
d91d3e89a7
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
mats.palmgren@bredband.net
af5d8feb1e
Don't return values outside the range for PangoWeight (100..900). b=335543 r+sr=vladimir
2007-06-18 20:08:29 -07:00
bzbarsky@mit.edu
5594639fe8
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 07:58:29 -07:00
pavlov@pavlov.net
8278752ab5
bug 342466. make font fallback deterministic. r=vlad
2007-06-15 14:48:59 -07:00
mozilla@weilbacher.org
007c372528
[OS/2] Bug 371505: check in preliminary workarounds for Thebes repaint problems based on ideas from Andy Willis
2007-06-14 13:38:55 -07:00
pavlov@pavlov.net
e904667847
minor cleanup to make the code more readable. bug 384363. r=vlad
2007-06-13 16:28:25 -07:00
roc+@cs.cmu.edu
622f3bf11b
Bug 384100. Implement word-based textrun cache. r=vlad
2007-06-12 13:56:04 -07:00
pavlov@pavlov.net
e15bfe9631
use the right length when iterating over the string. bug 384094. r=vlad
2007-06-12 11:54:41 -07:00
pavlov@pavlov.net
d6899912ca
Force us to select the same font if we're around joiners. bug 384096. r=vlad
2007-06-12 11:52:32 -07:00
pavlov@pavlov.net
57d8a6ea55
initing uninited variables. r=me
2007-06-12 01:39:18 -07:00
pavlov@pavlov.net
a5d661d07d
build bustage fix.
2007-06-10 18:45:41 -07:00
pavlov@pavlov.net
dd270e253e
bug 332649. improved windows font selection. r=vlad sr=roc
2007-06-10 18:31:27 -07:00
roc+@cs.cmu.edu
c85bd757f8
Bug 383548. Add MOZ_COUNT_CTOR/DTOR to help track gfxTextRun memory usage. r=pavlov
2007-06-10 16:07:29 -07:00
roc+@cs.cmu.edu
b181be2ebe
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
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
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
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
8b3f9bbe2b
b=348462, clamp font size to a lower value; r=stuart
2007-05-30 01:32:50 -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
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
vladimir@pobox.com
2b94255243
b=375047, fragile pango initialization, r=roc
2007-05-22 20:57:34 -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
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
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
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
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
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
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
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
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
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
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
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
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
roc+@cs.cmu.edu
4edc266f0f
Bug 375757. Cache gfxFont objects. r=pavlov
2007-04-03 20:32:43 -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
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
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
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
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
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
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
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
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
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
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
pavlov%pavlov.net
0e90b3453a
removing unused files r=vlad
2007-02-15 00:31:54 +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
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
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
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
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
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
vladimir%pobox.com
7db9167a4b
b=367768, update cairo to 1.3.12 snapshot, r=stuart
2007-01-25 00:27:34 +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
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
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
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
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