Commit Graph

139 Commits

Author SHA1 Message Date
pavlov@pavlov.net
ad1544830c bug 418384. use GDI when Uniscribe doesn't like a font. Fixes crash. r=vlad a=beltzner 2008-03-21 13:22:58 -07:00
pavlov@pavlov.net
f06dca55e3 bug 382542. support synthetic bold for fonts. r=vlad 2008-03-19 22:35:05 -07:00
pavlov@pavlov.net
797b22d6ab bug 382542. fix problems with font fallback and font variations. r=vlad/jdaggett 2008-03-19 17:41:19 -07:00
pavlov@pavlov.net
403fc060ec bug 382542. Deal with different style variations of fonts containing different character maps. r=vlad 2008-03-18 17:06:55 -07:00
pavlov@pavlov.net
64b1e11538 bug 396315. Fixing type1 fonts on Windows. r=vlad 2008-03-14 16:02:32 -07:00
pavlov@pavlov.net
4e4415d384 bug 420675. shouldn't be bolding weight 500. r=vlad 2008-03-13 23:17:25 -07:00
pavlov@pavlov.net
7911a69906 bug 396315. get type1 fonts fonts mostly displaying correctly. (also fixes bug 410801. use postscript opentype fonts for fallback) r=vlad 2008-03-12 21:15:24 -07:00
masayuki@d-toybox.com
821cf1156c Bug 417014 Need blacklist system for underline offset adjusting of CJK fonts which have wrong underline offset r=roc+stuart, sr=roc, b1.9=stuart 2008-03-12 19:36:58 -07:00
blassey@mozilla.com
3c99833e3e backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
eeea24bde6 switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
blassey@mozilla.com
92c51991b0 backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
9bc9e44b40 switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
jdaggett@mozilla.com
b6cc0312c3 Bug 419757. Cache codepoints for which no font matches on windows. r+sr=stuart 2008-03-03 18:34:05 -08:00
mats.palmgren@bredband.net
e379c46906 Some broken fonts specify a negative subscript offset, use the absolute value for compat reasons. b=410917 r=vladimir sr=pavlov a=beltzner 2008-02-16 18:44:12 -08:00
masayuki@d-toybox.com
cf482503c8 Bug 402524 Need to correct the Metrics for fonts in XP level r=pavlov, b1.9=vlad 2008-02-15 13:31:38 -08:00
pavlov@pavlov.net
cafb5b44d0 bug 407462. CJK perf issue due to Uniscribe. Fast path around it when we know we can. r=roc 2008-02-14 20:50:15 -08:00
masayuki@d-toybox.com
4373f8a32e Bug 415595 Use nsIPrefLocalizedString for intl.accept_languages in gfxWindowsFonts.cpp r=pavlov, b1.9=mtschrep 2008-02-09 10:47:15 -08:00
roc+@cs.cmu.edu
cebf4554c4 Bug 410728. gfxWindowsFonts should not start a font-change run in the middle of a surrogate pair. r=pavlov 2008-01-28 09:30:18 -08:00
karlt+@karlt.net
c87f7d77cc backing out mMetrics->xHeight test in revision 1.161 to try to fix MozillaAliveTest. 2007-12-19 14:16:46 -08:00
karlt+@karlt.net
b81332659b changing floats to double to try to fix MozillaAliveTest. 2007-12-19 13:55:35 -08:00
karlt+@karlt.net
8a518097c5 Bug 407415 - NaNs in gfx*Font with font-size:0 and font-size-adjust. r=roc a=schrep 2007-12-19 12:37:49 -08:00
roc+@cs.cmu.edu
e742209dee Fixing bustage 2007-11-15 17:51:59 -08:00
reed@reedloden.com
ec9b5160d0 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-08 22:27:23 -08:00
reed@reedloden.com
50d128a352 Backout roc's patch for bug 385417, as it most likely caused bug 402990 and the numerous test failures. 2007-11-07 23:41:06 -08:00
reed@reedloden.com
2fc6943fb7 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-07 20:31:33 -08:00
pavlov@pavlov.net
2a19a7d52a bug 394751. hang with long lines of text and page break characters. patch from Chris Pearce <chris@pearce.org.nz>. r=me 2007-11-06 22:35:38 -08:00
pavlov@pavlov.net
4d55db7b49 bug 399369. disable font fallback when a character is in the PUA. r=smontagu 2007-11-06 20:53:47 -08:00
reed@reedloden.com
ce7094da13 Bug 393630 - "Potential crash on oom in GenerateAlternativeString" [p=masayuki@d-toybox.com (Masayuki Nakano) r=stuart a1.9=damons] 2007-10-19 01:10:28 -07:00
smontagu@smontagu.org
4b4bd5501f Set fLogicalOrder in the SCRIPTITEM before copying to the ranges so that ScriptPlace has it set. Bug 395676, r+blocking1.9=pavlov 2007-09-25 08:41:34 -07:00
vladimir@pobox.com
96a878f5a9 b=377336, win32 printing page results in excessive data spooled to printer, for real this time, r=stuart 2007-09-24 15:50:44 -07:00
roc+@cs.cmu.edu
bfd939088e Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
smontagu@smontagu.org
5066adf227 Display one hex box with six digits for non-BMP codepoints with no glyph. Bug 376532, r+sr+a=roc 2007-09-20 03:16:15 -07:00
roc+@cs.cmu.edu
559a8984a7 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 16:12:06 -07:00
martijn.martijn@gmail.com
7f8e139020 Bug 394223 - Mingw build error in gfxWindowsFonts.cpp:1460, r+a=vlad 2007-08-30 17:09:40 -07:00
pavlov@pavlov.net
448c760419 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 13:44:12 -07:00
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
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
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
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
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
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
roc+@cs.cmu.edu
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
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
pavlov@pavlov.net
056b16ad58 minor cleanup to make the code more readable. bug 384363. r=vlad 2007-06-13 16:28:25 -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
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
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
longsonr@gmail.com
ef769fe157 Bug 379284 - Support font-weight='lighter' on Windows. r=vladimir,sr=roc 2007-06-05 02:29:11 -07:00
pavlov@pavlov.net
e88e60f26d relanding code to get and cache code point info from each font on your system and improve font selection speed and results. bug 377950. r=vlad/roc,sr=roc 2007-05-29 17:07:03 -07:00
benjamin@smedbergs.us
c958680a2c Backout bug 377950 due to startup crashes. 2007-05-29 08:09:23 -07:00
pavlov@pavlov.net
b7f7397cbf Get and cache code point info from each font on your system and improve font selection speed/results. bug 377950. r=vlad/roc,sr=roc 2007-05-29 03:24:15 -07:00
roc+@cs.cmu.edu
2f2ce6a87a Bug 377923. Hide glyphs for \t, \r and \n under all circumstances. r=pavlov 2007-05-22 20:45:51 -07:00
jminta@gmail.com
75c45c5414 Bug 377717 again, if this doesn't go green i'll back out 2007-05-20 19:57:10 -07:00
jminta@gmail.com
6bcd70a458 try again 2007-05-20 19:45:45 -07:00
jminta@gmail.com
a9a3cf07ce bustage fix from Bug 377717 2007-05-20 19:42:02 -07:00
roc+@cs.cmu.edu
168e80e375 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-08 15:46:14 -07:00
smontagu@smontagu.org
67ff695ef2 Assert on null gfxContext. Bug 377918, r+sr=roc 2007-05-06 03:41:27 -07:00
sayrer@gmail.com
53b6461aa3 backout patch for bug 375760 due to bustage. 2007-05-04 21:36:13 -07:00
roc+@cs.cmu.edu
c28ead8361 Fixing bustage 2007-05-04 20:23:53 -07:00
roc+@cs.cmu.edu
c38af9c6b8 Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-04 19:16:16 -07:00
smontagu@smontagu.org
98c09ed446 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
6facfc990d 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
1e0d2b20c8 Reverse the sign of mXOffset in RTL runs so that the offset is always from left to right. Bug 378351, r=roc 2007-04-24 23:59:34 -07:00
roc+@cs.cmu.edu
59d2c4c0f6 Bug 372838. Make win32 fonts scale properly in cairo, and make gfxWindowsFont always use the identity matrix for measuring. r=pavlov 2007-04-20 17:53:00 -07:00
smontagu@smontagu.org
a822c26542 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
martijn.martijn@gmail.com
ee8e8c3b6d 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
d2337998c2 Bug 375757. Cache gfxFont objects. r=pavlov 2007-04-03 20:32:43 -07:00
pavlov@pavlov.net
f9204d14df fixing bug causing font-weight: 900 to not be bold. bug 359542. r=vlad 2007-04-03 13:11:25 -07:00
pavlov@pavlov.net
bb8ea4330f 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
f3d2506617 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
roc+@cs.cmu.edu
13ff34b476 Fix bustage. 2007-03-27 20:59:09 -07:00
roc+@cs.cmu.edu
60a3aab860 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
fa171747f0 Backing out attempted fix for Windos reftests. I'll follow up with a real fix. 2007-03-27 17:05:06 -07:00
roc+@cs.cmu.edu
c976a7c746 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
6ce4a12335 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
224214d8b9 Bug 372629. Draw missing-glyph boxes with the Unicode character inscribed in hex. r=pavlov 2007-03-26 20:24:49 -07:00
roc+@cs.cmu.edu
2511db122a 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
e7c61031cb Bug 374720. Minor gfx changes to support new textframe work. r=pavlov 2007-03-22 16:07:18 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00