smontagu@smontagu.org
f5a37e33c7
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 10:28:56 -07:00
asqueella@gmail.com
f84d6685a6
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 11:33:45 -07:00
pavlov@pavlov.net
8dad34c0fb
bug 393632. cache cjk resolved font list as well. r=elif
2007-08-24 17:00:41 -07:00
pavlov@pavlov.net
0f6d3000c8
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 16:05:07 -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
c838dc2d9c
[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 05:36:21 -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
mozilla@weilbacher.org
d15dfeee5b
[OS/2] Bug 381333: make debug output more helpful
2007-08-19 05:05:23 -07:00
sharparrow1@yahoo.com
99229009b5
Bug 382458, additional patch to fix repainting problems with theming and pixel rounding. r=vlad, a=blocking1.9+
2007-08-17 13:30:23 -07:00
vladimir@pobox.com
10ea784eab
b=391583, DoesARGBImageDataHaveAlpha is slow, r=stuart,a=me
2007-08-17 12:54:58 -07:00
masayuki@d-toybox.com
5dcd053a56
Bug 365414 overflowed decoration lines are not erased/painted r+sr=roc
2007-08-14 09:39:54 -07:00
mats.palmgren@bredband.net
bce3d84005
Bustage fix. b=391243
2007-08-14 04:46:26 -07:00
mats.palmgren@bredband.net
c366407693
Don't crash when CurrentSurface() or GetDC() return null. b=391243 r+sr+a=vladimir
2007-08-14 02:47:37 -07:00
pavlov@pavlov.net
22dc8c001a
make bitmap fonts support their space character. bug 386389. r=vlad
2007-08-10 13:00:03 -07:00
roc+@cs.cmu.edu
ed8c84cc19
Bug 391068. Fix ATSUI cluster analysis loop. r=vlad,a=pavlov
2007-08-09 19:24:38 -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
vladimir@pobox.com
5b56ef41e2
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
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
masayuki@d-toybox.com
70fdc2568a
The additional patch for bug 364786 r=vlad
2007-08-03 11:37:50 -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
vladimir@pobox.com
9521c6d47f
b=390202, trunk topcrash gfxFont::Draw, r=stuart,a=damon
2007-07-31 13:34:43 -07:00
roc+@cs.cmu.edu
d1da448c24
Trivial fix that should fix Linux reftests
2007-07-26 04:22:57 -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
vladimir@pobox.com
7c12866d18
b=339553, drawString enhancement for canvas, r=me; patch from robarnold
2007-07-25 11:21:34 -07:00
jwalden@mit.edu
24e0e3c1a9
--enable-tests bustage fix, after color management landing. r=sparky
2007-07-23 18:06:07 -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
longsonr@gmail.com
f72b06b167
Bug 388385 - Memory leak with SVG patterns and clipPaths. r+sr=vladimir
2007-07-23 01:54:52 -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
benjamin@smedbergs.us
a5b168b6fe
Bug 388542 - --disable-libxul broken in thebes (in some circumstances), r=vlad
2007-07-18 08:52:41 -07:00
vladimir@pobox.com
ea6bd8313f
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
4d0a020e08
b=364786, improve Mac font selection, r=masayuki,sr=roc
2007-07-18 07:22:06 -07:00
vladimir@pobox.com
1d61f44787
b=386895, speed up gfx text rendering (microbenchmark), r=roc
2007-07-17 16:13:48 -07:00
dbaron@dbaron.org
75c96c202a
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
df3a6a3d68
Adding comment.
2007-07-16 16:45:16 -07:00
roc+@cs.cmu.edu
236f0ad4d2
Fixing reftest failure, hopefully. r=pavlov
2007-07-16 16:44:41 -07:00
roc+@cs.cmu.edu
d1797af5ad
Bug 386920. Preserve line-break data when copying glyphs. r=pavlov
2007-07-16 15:50:35 -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
smontagu@smontagu.org
70ab11577d
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
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
pavlov@pavlov.net
83eb81a853
re-enabling kerning on the mac. bug 387197. r=vlad
2007-07-11 10:41:26 -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
smontagu@smontagu.org
88c2c40931
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
1dae669f68
[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
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
roc+@cs.cmu.edu
e58660ef2b
Bug 386804. Make 'cache not empty' assertion into a warning. r=vlad
2007-07-04 20:05:06 -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
b2190168cd
Fixing bustage
2007-07-03 21:07:01 -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
longsonr@gmail.com
fc778c5615
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
6ebd93058f
Bug 386122. Make textrun storage metrics only defined for DEBUG_roc.
2007-07-01 18:24:56 -07:00
roc+@cs.cmu.edu
8e91fac244
Bug 9101. Fix BreakAndMeasureText to save/restore hyphenation state correctly. r=pavlov
2007-07-01 18:12:45 -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
mozilla@weilbacher.org
4ee72ec0b6
[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
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
pavlov@pavlov.net
d95b7468f0
removing printf
2007-06-26 17:52:41 -07:00
pavlov@pavlov.net
cab0f40712
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
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
mozilla@weilbacher.org
771982213b
[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
cba65ecc3d
[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
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
mats.palmgren@bredband.net
5b1d81411b
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
e5459dca87
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
dce0d1d7de
bug 342466. make font fallback deterministic. r=vlad
2007-06-15 14:48:59 -07:00
mozilla@weilbacher.org
8af5b1515a
[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
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
d716f72508
use the right length when iterating over the string. bug 384094. r=vlad
2007-06-12 11:54:41 -07:00
pavlov@pavlov.net
cdc3a5f15e
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
1e671a38e9
initing uninited variables. r=me
2007-06-12 01:39:18 -07:00
pavlov@pavlov.net
e47f1946a2
build bustage fix.
2007-06-10 18:45:41 -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
4921ef9a2b
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
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
masayuki@d-toybox.com
a560f39e3e
Bug 374251 r=vlad
2007-06-07 12:14:07 -07:00
roc+@cs.cmu.edu
52b25218e7
Bug 381654. Initialize PangoAnalysis fields robustly. patch by Karl Tomlinson, r+sr=roc
2007-06-06 20:29:34 -07:00
longsonr@gmail.com
ef769fe157
Bug 379284 - Support font-weight='lighter' on Windows. r=vladimir,sr=roc
2007-06-05 02:29:11 -07:00
martijn.martijn@gmail.com
60a1f54423
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
aceb5fce79
Fixing bustage.
2007-05-30 22:21:56 -07:00
roc+@cs.cmu.edu
21a9827073
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
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
5735a79fff
b=348462, clamp font size to a lower value; r=stuart
2007-05-30 01:32:50 -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
08c2b6d4aa
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
5827640155
[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
635702835b
b=375047, fragile pango initialization, r=roc
2007-05-22 20:57:34 -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