Commit Graph

891 Commits

Author SHA1 Message Date
Oleg Romashin
25d501d465 Fixed optimized cairo_surface_fill for image surface
Enable OptimizeImage for X11 QSurface
2008-05-01 14:50:24 +03:00
jdaggett@mozilla.com
9a2ab9c8d7 Bug 418479. Allow antialiased text rendering to be disabled for small text sizes via a pref. r+sr=vlad, a=damons 2008-05-01 02:07:17 -07:00
Vladimir Vukicevic
861b6a8679 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
roc+@cs.cmu.edu
3469d1a6c7 Bug 427411. Handle bogus fonts being returned by Windows due to the font catalog being stale or out of GDI objects. r=pavlov,a=damon 2008-04-29 20:37:30 -07:00
Vladimir Vukicevic
b8dc499b49 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -07:00
roc+@cs.cmu.edu
0ad8725993 Backing out bug 427411 2008-04-28 17:28:22 -07:00
roc+@cs.cmu.edu
b243289a8d Bug 427411. Handle GetTextMetrics failing when we create a gfxWindowsFont (can happen if we're out of GDI resources or Windows' font catalog is stale). r=pavlov,a=damon 2008-04-28 15:30:22 -07:00
vladimir@pobox.com
916af28b69 b=429915, color mismatch with 1x1 images (SetColor API broken) ; r=stuart, a=damon 2008-04-28 14:27:05 -07:00
roc+@cs.cmu.edu
75aa8f57a7 Bug 429899. Always treat the first character of a ligature as the start of a cluster when dividing ligature width among clusters. r+a=vlad 2008-04-22 19:06:22 -07:00
Stuart Parmenter
f7ea6e0bc4 removing printfs 2008-04-20 04:38:54 -07:00
Stuart Parmenter
ae3f3df546 use fontconfig for font lookup misses and cache the results 2008-04-20 04:34:04 -07:00
Stuart Parmenter
01514ee099 removing +x on the files 2008-04-20 03:37:33 -07:00
Vladimir Vukicevic
ed0e67d29f [qpainter] Add getters for QImage; also make OptimizeImages a noop
The QPainter back end knows how to create a QImage from an image surface
while painting, so no need to copy the image.
2008-04-20 01:40:10 -07:00
stuart
8bc7b34f51 adding synthetic italic support 2008-04-19 19:07:24 +03:00
romashin
8c5afb0e75 Probably Fixed crash on device
Add binary package microb-precious
2008-04-19 19:07:05 +03:00
vlad
669f03c6b8 Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-19 19:02:53 +03:00
romaxa@romaxa.research.nokia.com
e84ddd7185 Remove files added by mistake 2008-04-19 18:56:33 +03:00
romashin
40e2385b88 Fixed compilation problems with sb-QT arm 2008-04-19 18:53:37 +03:00
romashin
7831d65b1a Added new cairo-qt surface from Vlad's patch
New created files moved in sandbox/qt_port.. cairo and gfxQPainterSurface
Changes for existing files applyed from 100_qt-qpainter-cairo.diff
Fixed building non deb mozilla with build_non_deb.sh script
Fixed tab-spaces in new created file cairo-qpainter-surface.cpp
2008-04-19 18:43:23 +03:00
romashin
6f8875696f Return back Qt font using 2008-04-19 18:40:46 +03:00
romashin
d055714853 Added cairoFontface destroy 2008-04-19 18:40:37 +03:00
romashin
6cbe05e9df Some metrics cleanup 2008-04-19 18:40:28 +03:00
romashin
29c7f39e27 Added CairoFontFace creation from FcPattern 2008-04-19 18:40:24 +03:00
romashin
f97ce9f17b Add more proper initialization of QFont, weight, styles... 2008-04-19 18:40:20 +03:00
romashin
65d1c04004 Fixed www.linux.org.ru displaying 2008-04-19 18:40:16 +03:00
romashin
cfeb241c9d Added comment about QFontMetricsF 2008-04-19 18:40:03 +03:00
romashin
a77297ec57 Enabled stuff for proper mMetrics.subscriptOffset mMetrics.superscriptOffset calculation 2008-04-19 18:39:59 +03:00
romashin
5d8abd78b3 Added some stuff from gfxPangoFonts implementation 2008-04-19 18:39:55 +03:00
romashin
31f581b316 Add SanitizeMetrics 2008-04-19 18:39:50 +03:00
romashin
d3112cf672 Fixed underline offset 2008-04-19 18:39:46 +03:00
pekka.aho
23331a2bc9 New version gfxQtFontGroup (kerning & missing glyph support) 2008-04-19 18:39:34 +03:00
pekka.aho
f4daeca3eb Basic font implementation 2008-04-19 18:37:47 +03:00
pekka.aho
bd57c62068 first version of the gfxQtFontGroup 2008-04-19 18:37:43 +03:00
pekka.aho
18bb87b0ff First version of gfxQtFont 2008-04-19 18:37:38 +03:00
romashin
cbcafdf1a0 Some font updates 2008-04-19 18:37:23 +03:00
pekka.aho
c2af615677 first version of gfxQtFont::GetMetrics 2008-04-19 18:37:18 +03:00
romashin
d3d42719ce Added more debug info for fotns 2008-04-19 18:37:14 +03:00
Oleg Romashin
790eff22e7 Added Screen Manager
Some fixes and addditional stuff for fonts
2008-04-19 18:14:15 +03:00
Oleg Romashin
3f8576b06e Simple stuff for QT fonts (no crash) 2008-04-19 18:14:11 +03:00
Oleg Romashin
3b3ac75525 Process updates 2008-04-19 18:13:55 +03:00
romaxa@romaxa.research.nokia.com
f98baada0a Add base implementation of gfxQtPlatform and widget/qt 2008-04-19 18:02:52 +03:00
romaxa@romaxa.research.nokia.com
7f26b5f88d Add initial fonts stuff for Qt port 2008-04-19 16:46:17 +03:00
romaxa@romaxa.research.nokia.com
6c3e325d4b Add new cairo-qpainter backend for building in cairo-qt configuration 2008-04-19 16:34:30 +03:00
romaxa@romaxa.research.nokia.com
257b6a32af Add cairo-ft dependency for QT-gfx 2008-04-19 16:31:30 +03:00
romaxa@romaxa.research.nokia.com
bbb00db9ff Enabled building of gfxQtFonts and gfxQtPlatform for cairo-qt configuration 2008-04-19 16:19:04 +03:00
jdaggett@mozilla.com
744f5db6d1 Bug 428458. Fix fixed-pitch font handling for mac/win. r+sr=roc, a=vlad 2008-04-18 02:11:47 -07:00
jdaggett@mozilla.com
e05963a7da Bug 427602. Switch use of TArray<nsAutoString> to TArray<nsString> within gfx code. r=stuart, a=schrep (reland) 2008-04-17 21:32:18 -07:00
gavin@gavinsharp.com
4f1e14850e Bug 405684: checking incorrect character in UniscribeItem::ComputeRanges, patch by pavlov@pavlov.net, r=vlad, a=beltzner 2008-04-17 18:46:47 -07:00
roc+@cs.cmu.edu
659583c0d8 Backing out 427602 to try to fix failures 2008-04-17 04:18:58 -07:00
jdaggett@mozilla.com
729e5ee9c2 Bug 427602. Switch use of TArray<nsAutoString> to TArray<nsString> within gfx code. r=stuart, a=schrep 2008-04-17 01:30:15 -07:00
karlt+@karlt.net
a47f75781a Ensure aveCharWidth is wide enough for numerals. b=410405 r=pavlov a1.9=schrep 2008-04-15 18:03:51 -07:00
roc+@cs.cmu.edu
4f03ff6841 Bug 427730. Make text for ATSUI layout end in ' ' or ' .' instead of '.', to ensure the last character isn't treated as the start of a kerning pair. r=jdaggett,sr=vlad,a=beltzner 2008-04-14 18:48:19 -07:00
masayuki@d-toybox.com
0767329450 Bug 426616 Acid2 chin is 1px too tall in FF3b5 r=pavlov, sr=roc, a1.9=beltzner 2008-04-12 01:54:18 -07:00
reed@reedloden.com
1f95f2294c Bug 427985 - "Mozilla stops repainting in this testcase after a while" (leak fix) [p=pavlov@pavlov.net (Stuart Parmenter) r=vlad b1.9+a1.9=damons] 2008-04-11 00:01:14 -07:00
karlt+@karlt.net
e5239b111e Use a PangoFontMap for pango_itemize that provides the same primary font from document language rather than adjacent characters b=416725, r+sr+a1.9=pavlov 2008-04-08 23:55:49 -07:00
karlt+@karlt.net
036bda2117 Backing out b=410405 to see if it fixes test failures. 2008-04-08 19:29:44 -07:00
karlt+@karlt.net
a550baeaa3 Ensure aveCharWidth is wide enough for numerals. b=410405, r=pavlov. 2008-04-08 17:02:41 -07:00
longsonr@gmail.com
51b6a3dc2f Bug 425662 - Scaled SVG content can get the wrong metrics and poison the cache. r+sr=roc,a1.9=beltzner 2008-04-08 06:12:04 -07:00
jdaggett@mozilla.com
d0a6c2dd33 Bug 423571. Short circuit system-wide font fallback for U+FFFD on Mac. r+sr=vlad 2008-04-08 01:46:15 -07:00
pavlov@pavlov.net
8f4d2f8df6 bug 427084. Use GetGlyphIndiciesW rather than ScriptGetCMap for type1 fonts. r=vlad 2008-04-08 00:32:38 -07:00
joshmoz@gmail.com
9e7302e02d back out 425662 for longsonr because it might have caused tbox orange 2008-04-07 20:53:12 -07:00
longsonr@gmail.com
a0a20348fe Bug 425662 - Scaled SVG content can get the wrong font size and poison the font cache. r+sr=roc,a1.9=beltzner 2008-04-07 16:18:12 -07:00
vladimir@pobox.com
d7ddef3d99 dummy commit to kick tinderbox 2008-04-06 23:34:48 -07:00
vladimir@pobox.com
06c698810e b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 22:08:30 -07:00
vladimir@pobox.com
3f56db9279 backout [mq]: cairo-rollback.patch 2008-04-06 16:34:08 -07:00
vladimir@pobox.com
2d82be0e34 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 15:14:09 -07:00
roc+@cs.cmu.edu
ed465e43d2 Bug 423270. Make gfxTextRunWordCache handle cases where a space and another character combine to form a ligature. r=vlad 2008-04-06 03:12:21 -07:00
pavlov@pavlov.net
3272e891cd bug 425336. check for S_OK explicitly rather than != S_FALSE. r=vlad 2008-04-04 00:39:58 -07:00
smontagu@smontagu.org
bd00284645 Bug 378105. Update default fonts for Indic scripts. r=pavlov, ui-review+approval1.9=beltzner 2008-04-03 21:23:18 -07:00
pavlov@pavlov.net
7ec0340036 bug 425336. fix problems with bitmap and vector fonts. r=vlad 2008-04-03 19:21:06 -07:00
jdaggett@mozilla.com
2c8eb2e601 Bug 419744. Load font cmap info via a background task. r+sr=stuart 2008-04-03 19:01:22 -07:00
masayuki@d-toybox.com
3ea5191188 Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner 2008-03-29 14:25:15 -07:00
vladimir@pobox.com
806f7572fd b=425593, print failure with 'some printing functionality not implemented' message (it\'s NS_OK, really!); r=stuart 2008-03-28 00:13:37 -07:00
pavlov@pavlov.net
987abc1e3e bug 424945. reduce GDI object use by using the selected font weight and rounded font size (when no size adjust) for doing cache lookups. r=vlad 2008-03-27 16:30:43 -07:00
vladimir@pobox.com
c3bf671567 b=409953; deref of null pointer on cancel of print-to-file (ignoring errors during printing is bad, mmmkay?); r=stuart 2008-03-26 18:21:46 -07:00
masayuki@d-toybox.com
9ff1d27f63 Bug 425249 gfxWindowsPlatform::InitBadUnderlineList() is broken by bug 424018 r+b1.9+a1.9b5=stuart 2008-03-26 14:43:43 -07:00
pavlov@pavlov.net
858afd3940 bug 424018. fix ts regression by loading character maps lazily. r=vlad 2008-03-26 14:32:51 -07:00
pavlov@pavlov.net
ec43cada45 backing out previous patch. 2008-03-26 13:24:37 -07:00
pavlov@pavlov.net
8dd5ec194a bug 424018. make character map loading lazy to fix ts regression. r=vlad a=beltzner 2008-03-26 11:02:57 -07:00
reed@reedloden.com
beb2bcda05 Bug 424650 - "Wrong nsAutoPtr usage break Mingw build" [p=Techrazy.Yang@gmail.com (Bo Yang) r=stuart a1.9b5=beltzner] 2008-03-24 21:46:30 -07:00
pavlov@pavlov.net
49d256e3b7 backing out trial patch for bug 424018. 2008-03-23 01:23:45 -07:00
pavlov@pavlov.net
0643e29f3c trial run for bug 424018. trying to fix Ts regression 2008-03-22 22:41:52 -07:00
pavlov@pavlov.net
79876622a0 bug 424566. fix crash in font selection. r/a=vlad 2008-03-22 18:13:10 -07:00
pavlov@pavlov.net
6eb12f095d bug 424165. clamp font weights from the OS to be within 100 and 900. r/a=vlad 2008-03-21 21:16:00 -07:00
pavlov@pavlov.net
e0600d71d3 bug 399636. make symbol fonts behave in unexpected ways. r=vlad a=beltzner 2008-03-21 15:19:12 -07:00
pavlov@pavlov.net
c70b188d3d bug 424398. fix crash when installing new fonts while loading pages. r=vlad a=beltzner 2008-03-21 14:22:29 -07:00
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
1f45c5e6ac bug 424165. Fixes crashes and problems with choosing a bold font when we should pick a lighter one. r=vlad a=beltzner 2008-03-20 15:09:45 -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
jdaggett@mozilla.com
a4df87005a Bug 364713. Synthetic bolding/italics on mac using double-strike and font matrix skew. r=vlad,stuart, sr=stuart 2008-03-19 17:02:21 -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
vladimir@pobox.com
5b4ea270a2 b=422661, long table border rendered incompletely (wrong coordinate conditioning in gfxRect), r+sr=roc 2008-03-18 13:30:16 -07:00
vladimir@pobox.com
cf1fc3fd9a b=421422, cairo upgrade ; r=me 2008-03-14 20:44:23 -07:00
pavlov@pavlov.net
64b1e11538 bug 396315. Fixing type1 fonts on Windows. r=vlad 2008-03-14 16:02:32 -07:00
jdaggett@mozilla.com
fe4a01e013 Bug 408965. Cmaps for fonts with Unicode-platform format-12 cmaps are not read (patch by Jjgod Jiang). r+sr=stuart 2008-03-14 01:35:35 -07:00
pavlov@pavlov.net
4e4415d384 bug 420675. shouldn't be bolding weight 500. r=vlad 2008-03-13 23:17:25 -07:00
masayuki@d-toybox.com
75cfe2466f Bug 390901 CJK - font-name is not recognised correctly in preferences p=me+jdagett(mac part)+kerlt(fontconfig part) r=jdagett+me+stuart+mconnor b1.9=stuart 2008-03-13 03:32:50 -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
reed@reedloden.com
30f5471b69 Bug 385516 - "Console is spewed with WARNING: empty langgroup" (Add default constructor to gfxFontStyle and use it) [p=wasti.redl@gmx.net (Sebastian Redl) r=stuart a1.9=damons] 2008-03-12 03:52: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
karlt+@karlt.net
3f2978a173 Bug 421955. combining mark at start of text run rendered as NUL hex box or garbage. r=roc, a1.9=damons 2008-03-11 00:04:31 -07:00
roc+@cs.cmu.edu
11aa232422 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
roc+@cs.cmu.edu
72bddc7c36 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
18b5f6db55 Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 00:34:12 -08:00
vladimir@pobox.com
104f6a38a1 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
jdaggett@mozilla.com
1212e6b6c2 Bug 421135. Fix typo in setting of mLastPrefFirstFont. r+sr=vlad 2008-03-05 17:47:33 -08: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
fe4a934348 Bug 420822. Missing 500 weight font should fallback to lighter weights. r+sr=stuart 2008-03-04 02:24:32 -08:00
roc+@cs.cmu.edu
4815c48c47 Backing out 403181 again 2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu
d8ef70bf14 Bug 403181. Track which subimage of an image we want to draw and copy it to a temporary surface if necessary to prevent sampling of pixels outside the subimage when zooming. Also, enable EXTEND_PAD or SetFilter(0) if the context has a transformation that's not a simple translation, since that might induce cairo to sample pixels outside the source (sub)image. r=vlad,sr=dbaron 2008-03-04 00:21:34 -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
roc+@cs.cmu.edu
caf967a145 Bug 416637. There might be some skipped characters before standalone combining marks at the start of a textrun. r=vlad 2008-03-03 18:30:20 -08:00
joshmoz@gmail.com
9d15dd6a9e always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner 2008-02-29 15:24:53 -08:00
jdaggett@mozilla.com
ea95d72bfc Bug 419370. Allow single face font families, specified in a pref setting. r+sr=stuart 2008-02-26 00:00:44 -08:00
roc+@cs.cmu.edu
4db6cb1c6f Bug 376375. Use Translate so we fill the right area with theme drawing after alpha recovery. r=vlad 2008-02-24 17:24:41 -08:00
roc+@cs.cmu.edu
29613b66c2 Bug 418754. Fix Mac clustering... we shouldn't set a glyph using SetSimpleGlyph if it's not the start of a cluster. Also fixes an indexing error in ligature detection. r=jdaggett,a=beltzner 2008-02-21 17:12:41 -08:00
jdaggett@mozilla.com
8d2e67363f Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. Now with no-leak technology. r+sr=roc 2008-02-20 18:46:01 -08:00
jdaggett@mozilla.com
bfbdef4961 Bug 417444. Backing out due to leakage. 2008-02-20 16:35:26 -08:00
jdaggett@mozilla.com
797e6e922b Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. r+sr=roc 2008-02-20 15:57:32 -08:00
reed@reedloden.com
89eddcaa54 Bug 395983 - "Duplicated Flash menus using r60(+) of Flash player" (do native drawing instead) [p=kinetik@flim.org (Matthew Gregan) r=vlad sr=roc a=blocking1.9+] 2008-02-20 03:33:27 -08:00
jag@tty.nl
2fbcb59ed7 Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
karlt+@karlt.net
e3e3452e9e back out gfxFontGroup::MakeTextRun with individual words. b=416725, due to performance regression on Windows. 2008-02-17 15:29:03 -08:00
karlt+@karlt.net
f8916a47a8 gfxFontGroup::MakeTextRun with individual words. b=416725, r=roc 2008-02-17 13:43:23 -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
jdaggett@mozilla.com
85960af63d Bug 416062. Test all faces for a given codepoint, not just the first one. r+sr=roc 2008-02-14 21:12:32 -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
karlt+@karlt.net
d99caac0e0 don't pango_font_get_metrics with a NULL language. b=414692 r=pavlov 2008-02-13 01:09:46 -08:00
masayuki@d-toybox.com
3aa6bddc90 Bug 333126 Bold/Italic text isn't displayed as bold/italic with cairo-gtk2 build if the font is synthesis font r=karlt, b1.9=mtschrep 2008-02-12 02:39:23 -08:00
jdaggett@mozilla.com
edb01cb657 Bug 416232. Add better error checking when reading in font name table. r+sr=roc 2008-02-12 01:31:36 -08:00
jdaggett@mozilla.com
94f07ba724 Bug 361986. Exclude complex script codepoints for fonts that lack AAT morphing data. r=vlad,smontagu, sr=pavlov 2008-02-11 23:23:44 -08:00
karlt+@karlt.net
45477e7a1d Bug 413050 - call cairo_debug_reset_static_data in system cairo on shutdown r=pavlov 2008-02-11 22:47:40 -08:00
karlt+@karlt.net
279c4c2019 Bug 414649 - wrong ui font (serif vs sans). Remove FindGenericFontFromStyle. r=pavlov 2008-02-11 22:43:26 -08:00
jdaggett@mozilla.com
d47e718e08 Bug 396732. Cache codepoints with no fonts to avoid repeated system-wide font lookup. r+sr=vlad 2008-02-11 21:38:38 -08:00
jdaggett@mozilla.com
b94523359e Bug 409342. Cache the last pref font looked up. r=vlad,pavlov, sr=pavlov 2008-02-11 20:57:57 -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
karlt+@karlt.net
6d0319463a use FC_PIXEL_SIZE instead of pango_font_describe_with_absolute_size b=414239 r+sr=roc 2008-02-07 14:17:50 -08:00
reed@reedloden.com
82e400b523 Bug 406376 - "Firefox generating PostScript Level 3 code, instead of Level 2 one (was: Printing graphics prints a solid black box)" (Use Level 2) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a=blocking1.9+] 2008-02-06 21:26:50 -08:00
vladimir@pobox.com
95e9d58680 b=414685, optimize mac image decoding and rendering ; r=stuart 2008-02-05 22:48:47 -08:00
jdaggett@mozilla.com
86a59bcce4 Bug 409342. Handle pref lang array correctly. r+sr=pavlov 2008-01-31 00:41:09 -08:00
jdaggett@mozilla.com
46731d8754 Bug 409342. Cache pref font lists per lang group during font matching. r+sr=pavlov 2008-01-30 16:23:36 -08:00
mozilla@weilbacher.org
e48dd1a8be [OS/2] Bug 394412: on the way to be able to print through cairo 2008-01-29 16:16:19 -08:00
jdaggett@mozilla.com
8086634599 Bug 411090. Bail reading cmap when table offset is beyond the end of the table. r+sr=pavlov 2008-01-29 14:12:11 -08:00
jdaggett@mozilla.com
9d023a57e2 Bug 400717. Explicitly set NSUnitalicFontMask and NSUnboldFontMask font traits to avoid 10.5 inconsistency. r+sr=vlad 2008-01-29 13:41:46 -08:00
gavin@gavinsharp.com
26c458ae81 Bustage fix from bug 404310 by John Daggett <jdaggett@mozilla.com>, r=josh, sr=stuart, a=Mossop (avoid enum conflict with 10.5 SDK) 2008-01-29 09:25:37 -08:00
jdaggett@mozilla.com
800de79502 Bug 404310. Restructuring gfxQuartzFontCache for faster startup, better lookup speed. r=vlad, sr=pavlov 2008-01-28 22:00:55 -08:00
vladimir@pobox.com
d7f4f31ade re-landing; b=412396, speed up mac image rendering while images are being loaded, r=stuart 2008-01-28 11:05:44 -08:00
roc+@cs.cmu.edu
e5384b1d5d Bug 410728. gfxTextRunWordCache should not cache words that start with a combining mark (words whose first character clusters with a preceding space). r=vlad 2008-01-28 09:35:44 -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
vladimir@pobox.com
1afbefd8e2 backing out 412396 in an attempt to fix linux orange 2008-01-27 19:04:40 -08:00
vladimir@pobox.com
7bf8a75184 b=412396, jpeg decoding/painting slower on trunk vs. branch while loading; r=stuart 2008-01-27 15:53:24 -08:00
longsonr@gmail.com
25d677831d Bug 377085 - line svg element getBBox() returns bad rect. r+sr=tor,a1.9=blocking1.9+ 2008-01-27 06:55:53 -08:00
karlt+@karlt.net
817d4d3497 Restore gfxPangoFontCache because of Tp slip b=401988. 2008-01-27 02:27:08 -08:00
karlt+@karlt.net
a06e31d7bd Remove gfxPangoFontCache as this doesn't include language in the key, and gfxFontCache should do this caching (with expiration). b=401988 r=pavlov. 2008-01-27 01:24:04 -08:00
karlt+@karlt.net
7c0813705d Bug 401988 - gfxPangoFontGroup::CreateGlyphRunsItemizing must use gfxPangoFont corresponding to the PangoFont from pango_shape (wrong glyphs selected when falling back to fonts of different style). Provide fontconfig with information re requested font even when non-existant. Map FONT_WEIGHT_NORMAL to Regular not Medium weight fonts. r=pavlov, sr=roc. 2008-01-26 23:37:29 -08:00
roc+@cs.cmu.edu
1d2bbe2e33 Backing out 410728 to fix Windows orange 2008-01-26 16:44:24 -08:00
roc+@cs.cmu.edu
a0a5ba9442 Bug 410728. Detect words that start with a combining mark, and don't cache them. r=vlad 2008-01-26 14:50:27 -08:00
mozilla@weilbacher.org
1bc906a8e4 Bug 376790: remove support for non-cairo GFX ports from configure.in, r=ted.mielczarek, a=mtschrep 2008-01-23 00:27:47 -08:00
karlt+@karlt.net
a662225a04 Touch ups to gfxFontCache, for gfxFonts that are added twice and for those that are not accessed through AddNew() and Lookup(). b=401988, r+sr=roc 2008-01-21 19:11:46 -08:00
jdaggett@mozilla.com
634332958f Bug 412859. Use the first group font instead of the previous font when doing system-wide font fallback. r+sr=roc 2008-01-20 22:36:47 -08:00
roc+@cs.cmu.edu
932627984e Bug 412859. Some code to dump the contents of the textrun word cache. debug only. r=pavlov 2008-01-20 17:23:50 -08:00
alfred.peng@sun.com
e50b06fd7a Bustage fix for bug 405268. 2008-01-19 19:28:17 -08:00
alfred.peng@sun.com
047db295c6 Bug 405268. Crash [@ gfxPangoFontGroup::CreateGlyphRunsItemizing gfxPangoFonts.cpp:1153]. r=mozbugz@karlt.net sr=pavlov a=blocking1.9+ 2008-01-19 19:01:18 -08:00
karlt+@karlt.net
3f4314eabf Restore gfxPangoFontCache to see if this resolves Tp slip from previous change. 2008-01-18 19:20:07 -08:00
karlt+@karlt.net
d312d51d70 Don't store PangoFontDescription and PangoContext in gfxPangoFonts, and remove gfxPangoFontCache. b=401988 r=pavlov 2008-01-18 17:43:26 -08:00
dolske@mozilla.com
5317da7abc Bug 412378 - crash in gfxPlatformGtk::CreateOffscreenSurface() when using xpcshell. r=stuart, a=schrep 2008-01-18 15:50:24 -08:00
mats.palmgren@bredband.net
60f971e921 MakeSpaceTextRun() should short-circuit zero-sized fonts. b=407352 r+sr=roc a=dsicore 2008-01-13 23:05:19 -08:00
masayuki@d-toybox.com
f9868c6084 Bug 410748 Control borders are not drawn correctly r+sr+a=roc 2008-01-12 09:30:27 -08:00
roc+@cs.cmu.edu
a5421d9e91 Bug 410228. Fix crash when an uppercased szlig has a font-change in the middle of it, r=smontagu 2008-01-09 15:33:34 -08:00
roc+@cs.cmu.edu
fd6341739a Bug 411334. Try optimistically to not use a temporary group for SVG drawing on Mac. If drawing fails we try again with a temporary group. r+sr=vlad 2008-01-09 14:53:59 -08:00
jdaggett@mozilla.com
d82c3831fa Bug 410954. Don't add fallback fonts to the font group list. Add better weight matching. r+sr=pavlov 2008-01-09 00:51:44 -08:00
roc+@cs.cmu.edu
d9682e9206 Bug 408182. Turn off Gfx pixel-snapping for print contexts. r=vlad 2008-01-06 16:50:18 -08:00
reed@reedloden.com
d0d1204651 Bug 383166 - "stack-allocate gfxContext where possible" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+a1.9=stuart] 2007-12-31 20:42:49 -08:00
reed@reedloden.com
4e430b4837 Back out Alfred Kayser's patch from bug 383166 due to Ts regression. 2007-12-31 15:41:12 -08:00
reed@reedloden.com
9698ff5663 Bug 383166 - "stack-allocate gfxContext where possible" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+a1.9=stuart] 2007-12-31 12:46:27 -08:00
jdaggett@mozilla.com
86234c3ffa Bug 396137. Use Windows cmap font matching in place of ATSUI font matching. r+sr=pavlov 2007-12-27 17:28:26 -08:00
roc+@cs.cmu.edu
32348d899d Bug 407761. Don't try to get/use extents for missing glyphs, and tolerate glyph extents that might be missing due to OOM. r=vlad 2007-12-20 23:09:50 -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
karlt+@karlt.net
d3c32ac10b Bug 405393 - ZWNJ and ZWJ unicode characters are failing to render correctly. r=roc. 2007-12-18 13:50:03 -08:00
mats.palmgren@bredband.net
42edb16342 Don't ask Pango for metrics of zero size fonts (it crashes some versions of libpango), instead set all the metrics to zero. b=404112 r=mozbugz@karlt.net sr=pavlov@pavlov.net a=blocking1.9 2007-12-17 01:25:25 -08:00
karlt+@karlt.net
a7f7f0a5d0 Bug 407415 - NaNs in gfxPangoFont::RealizeFont with font-size:0 and font-size-adjust. r=roc a=dsicore 2007-12-13 20:16:47 -08:00
mozilla@weilbacher.org
24ec805ac5 [OS/2] Bug 407524: Enable PDF surface on OS/2, r=ted.mielczarek 2007-12-11 13:49:27 -08:00
mozilla@weilbacher.org
73ea6c1e24 [OS/2] Bug 381333: enable kerning when high quality rendering is on 2007-12-11 12:51:07 -08:00
mozilla@weilbacher.org
62f08a3525 [OS/2] Bug 406447: use gfxFontCache on OS/2 2007-12-03 14:31:03 -08:00
mozilla@weilbacher.org
3a4ae65fca [OS/2] Bug 404196: fix calculation of space width in GetMetrics, so that monospaced text always lines up nicely 2007-12-03 14:22:36 -08:00
mozilla@weilbacher.org
0c8ebfaaa5 [OS/2] widths should be scaled with the horizontal scale factor (obvious typo without bug) 2007-12-02 08:37:16 -08:00
reed@reedloden.com
2ace02e7c0 Bug 404820 - Reading uninitialized memory in gfxFont::Measure with zero-length string [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=pavlov a=blocking1.9+] 2007-11-30 22:52:47 -08:00
roc+@cs.cmu.edu
bf83e698c5 backing out 404820 in case it caused Linux Ts regression 2007-11-30 18:18:16 -08:00
roc+@cs.cmu.edu
cc04531c5a Bug 404820. Reading uninitialized memory in gfxFont::Measure with zero-length string. r=pavlov 2007-11-30 12:06:36 -08:00
vladimir@pobox.com
8d3e2ba206 fix typo 2007-11-29 14:19:53 -08:00
vladimir@pobox.com
c06f0dc4e3 b=404092, upgrade cairo to 1.5.2-55 2007-11-29 12:06:56 -08:00
mozilla@weilbacher.org
5051cc2766 [OS/2] Bug 381330: improve handling of system fonts, automatically replace WarpSans by Workplace Sans if available. OK from wuno for code via testing and stevew for the documentation part. 2007-11-28 13:46:10 -08:00
reed@reedloden.com
96f5ba58d1 Bug 364221 - "[cairo] bad page scrolling performance with large background images" [p=alfredkayser@nl.ibm.com (Alfred Kayser) / vladimir@pobox.com (Vladimir Vukicevic [vlad]) r=stuart sr=tor a=blocking1.9+] 2007-11-27 01:35:18 -08:00
vladimir@pobox.com
d3038b89d4 b=403481 followup; do the right cleanup in some error conditions; r=stuart 2007-11-26 17:40:03 -08:00
vladimir@pobox.com
7e8a6aaac0 b=403481, massive linux/gtk memory leak with images, r+sr=stuart 2007-11-26 16:22:39 -08:00
vladimir@pobox.com
f961025905 b=379430, print preview hangs X, r+sr=roc,a=schrep 2007-11-26 16:20:52 -08:00
karlt+@karlt.net
e70c18246d Bug 404723 - font selection doesn't fallback to css families r=pavlov a=blocking1.9+ 2007-11-21 14:26:41 -08:00
mozilla@weilbacher.org
6b42d39c8a [OS/2] Bug 381333: first cut at replacing glyphs missing from the primary font from secondary (unicode and user-defined) fonts 2007-11-17 14:22:04 -08:00
mozilla@weilbacher.org
7873d1554e [OS/2] fix stupid mistake with masks when converting from UTF8 to 32bit number 2007-11-17 11:58:50 -08:00
mozilla@weilbacher.org
e1a695b187 [OS/2] fix build bustage following bug 403589 2007-11-16 12:50:06 -08:00
roc+@cs.cmu.edu
e742209dee Fixing bustage 2007-11-15 17:51:59 -08:00
roc+@cs.cmu.edu
2675d646bc Bug 403589. Fuse memory allocations in gfxTextRun. r=pavlov 2007-11-15 17:43:47 -08:00
smontagu@smontagu.org
f90f784a21 Go back to adding bidi overrides to text-runs. Prevents assertions and a regression in shaping LTR Arabic. Bug 402427, r+sr=roc, blocking1.9=pavlov 2007-11-11 11:40:34 -08:00
tor@cs.brown.edu
5e3273e0f1 Bug 402787 - gradients not color corrected. r=vlad, a=pavlov 2007-11-09 10:14: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
reed@reedloden.com
39d7d0c750 Bug 380464 - "crashed [@ gfxPlatformGtk::SetSurfaceGdkWindow] in case where I used to see bug 263160" [p=vlad r=stuart a=blocking1.9+] 2007-11-07 00:51:53 -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
480cd1bd7a bug 396315. correctly fetch cmaps for all fonts. r=vlad 2007-11-06 20:58:16 -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
pavlov@pavlov.net
50c94f8f78 bug 399813. set maxAdvance correctly. r=roc a= beltzner 2007-11-01 13:51:05 -07:00
karlt+@karlt.net
fcb9603fbc Bug 399556: don't pango_fc_font_map_shutdown in release builds. r=pavlov, aM9=beltzner 2007-10-30 15:35:21 -07:00
pavlov@pavlov.net
3d71671cd3 bug 399556. only clean up cairo in debug/test builds. r=vlad a=beltzner 2007-10-25 18:21:50 -07:00
smontagu@smontagu.org
21d673a398 Fix the positioning of diacritics in right-to-left languages and clean up a bunch of typos in bidi reftests. Bug 386573, r+sr=roc, a=vlad 2007-10-25 02:32:01 -07:00
jdaggett@mozilla.com
9061c61d0a Bug 328258. Prevent images larger than 32K pixels in height from loading to workaround Quartz bug. r=pavlov,vlad, a=beltzner 2007-10-23 23:01:16 -07:00
mozilla@weilbacher.org
ed87e29a3e [OS/2] Bug 371505: finally fix repaint issues with Thebes 2007-10-22 10:59:24 -07:00
mozilla@weilbacher.org
51a977b0a7 [OS/2] Bug 381333: fail metrics computation when face cannot be locked (fixes crash with font-size:0) 2007-10-19 12:24:03 -07: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
reed@reedloden.com
bdbb4df157 Bug 386065 - "legend {font-size:0;} still shows the text (yahoo.com mainpage)" [p=chris@pearce.org.nz (Chris Pearce) r+sr=roc a=blocking1.9+] 2007-10-11 21:22:25 -07:00
karlt+@karlt.net
15267eb778 Bug 397288: use CreateGlyphRunsItemizing when CreateGlyphRunsFast fails. r+a=pavlov 2007-10-11 18:05:16 -07:00
bzbarsky@mit.edu
12130e0ab9 Fix build bustage when building with old enough gtk. Bug 362682 followup, r=stuart 2007-10-07 16:09:55 -07:00
pavlov@pavlov.net
b2a85e03a8 removing code that breaks when compiled with newer pangos 2007-10-07 15:52:33 -07:00
pavlov@pavlov.net
1f462f4104 removing printf that snuck in. 2007-10-06 14:07:32 -07:00
pavlov@pavlov.net
73d97b6c94 bug 362682. re-re-landing linux text goodness. r=vlad, patch by me and Behdad Esfahbod <mozilla@behdad.org>. 2007-10-06 00:26:13 -07:00
vladimir@pobox.com
51c2b1c2b4 b=366548, increased GDI usage leading to repainting problems, r/a=stuart 2007-10-03 14:27:42 -07:00
roc+@cs.cmu.edu
1fb7f38610 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 18:47:40 -07:00
roc+@cs.cmu.edu
aa2f1bb4bf Backing out 2007-10-01 15:11:23 -07:00
roc+@cs.cmu.edu
07952e214b Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 14:29:19 -07:00
masayuki@d-toybox.com
441b843142 Bug 395866 font fallback does not respect stylesheet font list r=vlad, b1.9=stuart 2007-09-28 10:33:50 -07:00
joshmoz@gmail.com
6ea83c78e0 fix major font problem when using the Mac OS X 10.5 SDK. Patch by John Daggett. b=397454 r=roc/vlad sr=roc a=pav 2007-09-28 09:51:11 -07:00
pavlov@pavlov.net
6a813422a6 backing out, again.. not sure what the leaks are. 2007-09-27 17:15:59 -07:00
pavlov@pavlov.net
4ca7fa0c65 unlock the right object. 2007-09-27 16:37:31 -07:00
pavlov@pavlov.net
cec4899e27 unlock causes other badproblems. 2007-09-27 16:35:55 -07:00
pavlov@pavlov.net
af844f43c0 removing some tabs that snuck in + fixing leak by unlocking the FT_Face after we lock it. hopefully fixing leaks caused by previous patch 2007-09-27 16:31:29 -07:00
pavlov@pavlov.net
cdaedc6fdf whoops, this shouldn't have gone in 2007-09-27 16:04:14 -07:00
pavlov@pavlov.net
57cf17aabe bug 362682. relanding linux text goodness. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-27 15:15:51 -07:00
mozilla@weilbacher.org
9d5c0f3120 [OS/2] Bug 397514: Fix build break following for bug 96041, p=wuno, r=me 2007-09-27 09:41:46 -07:00
vladimir@pobox.com
4dd2e87496 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -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
vladimir@pobox.com
77096b4031 b=838960, ugprade cairo to 1.5.x; and b=377336, printing page from win32 results in hung app, r=stuart 2007-09-20 12:24:47 -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
pavlov@pavlov.net
ba97302f0b backing out 362682 due to linux tinderboxen not being upgraded... (396805, 389426) 2007-09-19 16:53:09 -07:00
pavlov@pavlov.net
7ce9ed1741 bug 362682. fix missing glyphs on linux. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-19 15:18:42 -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
mozilla@weilbacher.org
bb46dfab9e [OS/2] Bug 395301: Move offscreen surface creation from gfxOS2Platform to gfxOS2Surface 2007-09-18 14:20:25 -07:00
masayuki@d-toybox.com
1173d0d90c Bug 380026 "text-decoration: underline" for CJK characters is positioned higher than expected r+a=vlad 2007-09-18 02:40:24 -07:00
mozilla@weilbacher.org
ed621ca158 [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 08:29:21 -07:00
mozilla@weilbacher.org
d473eff5d6 [OS/2] Make debug output in gfxOS2Surface a bit more useful 2007-09-08 07:50:09 -07:00
masayuki@d-toybox.com
bc4a238d72 backing out previous checked-in, because some tests are failed in tinderbox 2007-09-05 16:46:09 -07:00
masayuki@d-toybox.com
60b878b0b3 Bug 380026 'text-decoration: underline' for CJK characters is positioned higher than expected. r+a=vlad 2007-09-05 16:03:04 -07:00
jwalden@mit.edu
f57320c98b 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-04 23:41:35 -07:00
roc+@cs.cmu.edu
452c3645a1 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-03 20:40:14 -07:00
masayuki@d-toybox.com
5a84442569 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
masayuki@d-toybox.com
bfe2436be6 Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
masayuki@d-toybox.com
8541f8f7f0 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
masayuki@d-toybox.com
f05b084582 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-30 23:30:59 -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
tor@cs.brown.edu
280f80abef Bug 393109 - treat system colors as output device values. r+a=pavlov 2007-08-30 09:21:16 -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
roc+@cs.cmu.edu
863902e5d6 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 16:44:00 -07:00
philringnalda@gmail.com
ca955a1140 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 14:34:03 -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
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
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
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
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
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
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
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
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
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
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
vladimir@pobox.com
5735a79fff b=348462, clamp font size to a lower value; r=stuart 2007-05-30 01:32:50 -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
roc+@cs.cmu.edu
9f80feccee Bug 381127. Add whitespace trimming capability to BreakAndMeasureText. r=pavlov 2007-05-22 16:40:07 -07:00
roc+@cs.cmu.edu
e118c4fcb4 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
a2218414c6 Bug 380071 - add cairo_clip_extents() functionality to thebes. r=vlad 2007-05-22 12:30:03 -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
jminta@gmail.com
1fb0dc7c7f Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-20 19:18:04 -07:00
roc+@cs.cmu.edu
d6ff0ee073 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
25a38a1d57 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
vladimir@pobox.com
7cce2f4f37 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
e51fc700f7 b=379436, borders on elements > 2^15px drawn backwards, r=dbaron 2007-05-20 15:41:21 -07:00
mozilla@weilbacher.org
5103c57ef2 [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
98ceec445f [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
007855e6ef 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
46ddf124bb 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
69246cf0ee 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
54fb98b302 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
77ac654c2d 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
e8c2a7c282 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
498dedc047 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
edb098f03a 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
87908652f9 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
0c240e4550 Bug 380451. Store hashcode in textrun to avoid accessing deleted text. r=vlad 2007-05-11 22:51:15 -07:00
vladimir@pobox.com
a5ca50ca0e X11 needs to be taken out behind the barn and shot, r=me 2007-05-10 13:50:16 -07:00
vladimir@pobox.com
50764812e5 more bustage fix 2007-05-10 13:20:08 -07:00
vladimir@pobox.com
bf13e49b7d X11 blows; bustage fix for linux 2007-05-10 13:19:04 -07:00
vladimir@pobox.com
45f00d29ec mac bustage fix 2007-05-10 13:12:24 -07:00
vladimir@pobox.com
3f27b185ee 371135, oom crashers with big images, r=stuart 2007-05-10 12:58:09 -07:00
roc+@cs.cmu.edu
116c18b96c 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
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
masayuki@d-toybox.com
21ffe3da8b 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
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
masayuki@d-toybox.com
95cb4442e7 b=357637 backing out 2007-05-04 03:46:08 -07:00
masayuki@d-toybox.com
7816720db9 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
e06b317a17 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
fce9d59a97 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
7e3d07a382 b=357637 backing-out the previous patch 2007-05-02 14:57:57 -07:00
masayuki@d-toybox.com
563715a829 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
e24a780904 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
02374fc781 b=368247 (and others, see bug), rewrite border rendering for thebes, r=dbaron 2007-04-30 20:31:25 -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
benjamin@smedbergs.us
2e25a321f8 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
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
roc+@cs.cmu.edu
a8f38a80d7 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
3da4824553 Bug 376927 - add path flattening API to thebes. r=vlad 2007-04-16 13:18:32 -07:00
dbaron@dbaron.org
10314006af 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
46fdf1ac9a 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
623995e645 Bug 377053. Don't return a local string object to callers of gfxQuartzFontCache::GetPostscriptNameForFontID. r=vlad 2007-04-11 17:19:35 -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
roc+@cs.cmu.edu
9d118160b7 Bug 375768. Fix minor textrun-related bugs, only affects new textframe. r=pavlov 2007-04-03 19:26:02 -07:00
vladimir@pobox.com
8ec66d82be b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 18:09:15 -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
vladimir@pobox.com
8698e07eca more backouts 2007-04-03 12:43:13 -07:00
vladimir@pobox.com
d6052c8a4c backing out 374462 2007-04-03 12:21:53 -07:00
vladimir@pobox.com
b227ab7f94 b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 11:59:47 -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
tor@cs.brown.edu
db9c79bfa1 Bug 375446 - Create gfxFontGroup factory method. r=vlad 2007-04-02 12:06:16 -07:00
dbaron@dbaron.org
f51f568e3e Restore commented-out code now that bug 375824 is fixed. b=374680 2007-03-30 15:04:32 -07:00
roc+@cs.cmu.edu
649faf4536 Bug 375824. Centralize Thebes startup/shutdown sequence. r=vlad 2007-03-29 14:48:46 -07:00
roc+@cs.cmu.edu
6599844c53 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
d9d4d3159d 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
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
dbaron@dbaron.org
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -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
roc+@cs.cmu.edu
f2fc4febae Bug 374830. gfxTextRun performance test harness. r=vlad 2007-03-22 16:04:48 -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