Commit Graph

468 Commits

Author SHA1 Message Date
Robert O'Callahan
38bbc69620 Bug 463307. Convert to float a bit earlier to avoid integer overflow. r+sr=dbaron 2008-12-03 14:32:18 +13:00
Robert O'Callahan
b72f6882fb Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad 2008-12-03 09:46:44 +13:00
John Daggett
0d24013534 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
Peter Weilbacher
b39d47dffa [OS/2] implement (but not yet activate) synthetic oblique using font matrix skewing in gfxOS2Font::CairoScaledFont 2008-11-26 20:13:43 +01:00
L. David Baron
9ff74e7abb Check that the user font set matches before returning an entry from the font cache. (Bug 457821) r=jdaggett sr=roc a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
6663aac501 Remove gfxFontLoaderContext, which seems to be replaced by gfxUserFont::LoaderContext. (Bug 457821) r=jdaggett a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
3211ab3eca Back out 5bc893b6bdf23dcd44601727df5baab8a0dd361e due to mac startup failures. 2008-11-25 15:08:40 -08:00
L. David Baron
4c4b3cbb89 Remove gfxFontLoaderContext, which seems to be replaced by gfxUserFont::LoaderContext. (Bug 457821) r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Karl Tomlinson
e0924b37f5 b=449356 remove accidentally added code 2008-11-07 15:37:52 +13:00
Karl Tomlinson
18dae13b06 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 15:21:34 +13:00
Karl Tomlinson
0860a21e5b backout b=449356 9621d305de92 2008-11-07 10:49:14 +13:00
Karl Tomlinson
8dfecc605a b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 09:39:06 +13:00
John Daggett
e5a0f4c565 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Karl Tomlinson
6c652e85ab backout b=449356 e8665c7cfdf2 and 20113c4780d2 2008-11-06 12:26:22 +13:00
Karl Tomlinson
6ac7784544 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-06 11:14:02 +13:00
Robert O'Callahan
0d380f02a0 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Robert O'Callahan
1693b53c02 Bug 458928. Render windowed Windows plugins using PrintWindow when necessary, and use gfxWindowsNativeDrawing for windowless plugins so we can draw them correctly under all circumstances. r=vlad,sr=jst 2008-10-29 22:28:25 -07:00
John Daggett
f37b60578a Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
John Daggett
bbc62f3b9d Bug 458113. Fix syntax error that broke OS/2 build. r+wuno 2008-10-09 14:52:00 +09:00
Oleg Romashin
de82ac8389 Bug 458360 - Qt build breaks after implementation of user font set object. r=vladimir. 2008-10-08 09:06:09 -05:00
John Daggett
b38e8d3c90 Bug 441473. Adding new files. 2008-10-01 12:04:10 +09:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Arpad Borsos
3da6ac3d8d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Karl Tomlinson
bd1cf53da5 b=385263 a PangoFcFont using tree cairo r=roc 2008-09-27 12:21:55 +12:00
Karl Tomlinson
952ca1e5f6 backout 23e255271851 b=385263 2008-09-26 20:00:50 +12:00
Karl Tomlinson
3ff29e984e b=385263 a PangoFcFont using tree cairo r=roc 2008-09-26 17:29:55 +12:00
Vladimir Vukicevic
4f48417c20 b=310682, add support for shadows in HTML Canvas; patch from Eric Bulter; r=vlad 2008-09-25 12:53:52 -07:00
Vladimir Vukicevic
1ce4d80f1b b=450178; add generic 8-bit alpha box blur in thebes (patch from Eric Bulter); r=vlad 2008-09-25 12:53:09 -07:00
Vladimir Vukicevic
e9929e8a33 b=455976; wrong extend mode used for macosx for border-image 2008-09-25 12:49:55 -07:00
Karl Tomlinson
fb0d6fc718 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-22 08:41:40 +12:00
Keith Schwarz
c45964315c Bug 455403 - -moz-transform translate functions result in incorrect origin; v5; r+sr=dbaron 2008-09-20 16:39:31 +02:00
L. David Baron
b8d9d3e2ed Backed out changeset aab6b12f4a2b (Bug 455403) due to reftest failures from landing patches in the wrong order, and unexplained reftest hangs. 2008-09-19 16:04:34 -07:00
Keith Schwarz
89a6316c50 Fix incorrect composition of translations with other transforms by making matrix multiplication code clearer, clarifying which matrices are for column vectors and which are for row vectors, and fixing incorrect matrix type conversions. (Bug 455403) r+sr=dbaron 2008-09-19 10:14:54 -07:00
Karl Tomlinson
3ce9751811 backout merge b=455791 2008-09-19 15:03:27 +12:00
Karl Tomlinson
d52c34f81c backout f51aad9e6a88 due to intermittent talos ts failures b=455791 2008-09-19 15:02:35 +12:00
Karl Tomlinson
f8ae25f7d0 b=454951 lazy creation of gfxPangoFont for gfxPangoFontGroup r=roc 2008-09-18 13:44:14 +12:00
Karl Tomlinson
ae52bc5050 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-16 16:35:05 +12:00
Karl Tomlinson
4ce06bfd6f b=454743 skip empty glyphs rather than rendering as spaces 2008-09-16 16:19:46 +12:00
Karl Tomlinson
e8a84aa36e b=454718 Change return type of gfxPlatformGtk::DPI() from PRUint32 to double. r=roc 2008-09-16 10:29:36 +12:00
Vladimir Vukicevic
c0e9f67c98 b=454856; gcc compilation oddness with some fp-int conversions, workaround in gfxColor; r=bholley 2008-09-11 17:49:58 -07:00
Bobby Holley
7f68f87dbf Fixing some endian-ness bugs for color management - bug 439704. r=vlad 2008-09-10 19:21:03 -07:00
Bobby Holley
3c106c861e Force cms to use sRGB as an output profile during reftests - bug 452125.r=vlad 2008-09-08 14:47:26 -07:00
Oleg Romashin
9941099a86 Bug 451032 – Replace gfxQtFonts with gfxFT2Fonts because it almost the same. r=vladimir 2008-08-28 21:05:53 +10:00
shaver@mozilla.org
5d3ad68bbe merge from mozilla-central 2008-08-20 08:17:17 -07:00
Reed Loden
b89ad17341 Backed out changeset 6eec92f9276a from bug 416157 because the image tests need to be updated before it can be landed. 2008-08-20 02:03:01 -05:00
Michael Moy
f9e264bb68 Bug 416157 - "Add JPEG SSE2 color processing for ycc_rgb_convert_argb" [r=stuart sr=vlad] 2008-08-20 00:03:46 -05:00
Peter Weilbacher
1ec3d5e1f0 [OS/2] follow-up for bug 437356 to unbreak the OS/2 build.
This just copies the font entry stub of gfxPangoFonts, we are going to make real use of the fontentry stuff for OS/2 hopefully soon.
2008-08-07 10:12:45 +02:00
Vladimir Vukicevic
5666178bff (really) backing out d883ab4b8f41 2008-08-06 16:32:33 -07:00
Vladimir Vukicevic
02e6b86b3b Backing out d883ab4b8f41:7540abc35c97 2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
50321c29c8 [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
67fa7ce818 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
John Daggett
7a21d2d052 Bug 437356. Set up unified font entry object. r+sr=stuart 2008-08-06 13:34:06 +09:00
Vladimir Vukicevic ext:(%2C%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
82238e4cc8 Bug 449959: gfxGdkNativeRenderer: look for GdkDrawable on group target,
use default display for fallback. r=vlad/karlt
2008-08-19 15:22:42 +12:00
Oleg Romashin
f60c5c61e0 Removed old embedding API
Removed old GLITZ stuff
2008-08-15 09:31:55 +03:00
Oleg Romashin
38e95b5eeb merge with mozilla-central 2008-08-16 03:39:26 -04:00
Robert O'Callahan
73f4457098 Bug 406299. Make sure we include the font ascent/descent of a soft hyphen if there is one (gfx bits). r+sr=dbaron 2008-08-12 21:34:52 +12:00
Bobby Holley
3b34cb4ebc Bug 449681 – switch color_management pref from off/on bool to off/on/taggedonly int. r=vlad 2008-08-11 21:55:36 -07:00
Oleg Romashin
59134516e5 Fixed gfxQtFont according to changes in bug 437356 Set up unified font entry object
Added empty gfxQtNativeRenderer and fixed nsObjectFrame for MOZ_WIDGET_QT
2008-08-09 16:43:08 +03:00
Oleg Romashin
12059d0133 mozilla-central merge 2008-08-08 13:05:00 +03:00
Vladimir Vukicevic
05da74d969 [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
cec2aa1047 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Oleg Romashin
bc6cd35488 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Simon Montagu
0dd0a7f5ba Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Bobby Holley
4a0c36fc63 Firefox honors embedded ICC intent flag - bug 444014 r=vlad 2008-07-23 10:33:12 -07:00
Vladimir Vukicevic
249ff0de3c b=424423, border rendering is slow: Part 1; r+sr=roc 2008-07-23 10:25:23 -07:00
Vladimir Vukicevic
f322efada2 b=424423; border rendering is slow: add APIs to thebes; r=joe 2008-07-23 10:25:00 -07:00
Peter Weilbacher
047958a689 [OS/2] Bug 439194: simple glyph matching across all installed fonts 2008-07-20 18:51:49 +00:00
Eric Butler
2dab44aa60 Expose Cairo path copy/append functions through Thebes - bug 445616 r=vlad 2008-07-18 11:26:02 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Bobby Holley
500e5c0524 System color profile handle not freed on thebes shutdown - bug 444829 r=vlad 2008-07-16 20:09:08 -07:00
Zack Weinberg
2103ba64ef Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-15 14:31:36 -07:00
Robert O'Callahan
8901cc3a8a Bug 444689. gfxMatrix type checks should allow for an epsilon fuzz so that matrix arithmetic that works out to the identity doesn't change the type. r=vlad 2008-07-14 10:27:43 +12:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Karl Tomlinson
b768d04fd4 remove comma at end of enumerator list from 9bbea3b66376 2008-07-08 14:37:41 +12:00
Karl Tomlinson
8a008f0564 Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc
2008-07-08 14:15:40 +12:00
L. David Baron
a05e0bbe1c Merge backout of 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:26 -07:00
L. David Baron
df1b22e4c5 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
John Daggett
1cb2f4ae57 Bug 423405. gfxPlatformMac.h causes compile to fail GCC4.2 on Mac OS X. r=jdaggett, sr=vlad 2008-07-02 13:19:37 +09:00
Zack Weinberg
74a4ba6923 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
John Daggett
c89140eb33 Bug 433997. Catch null ptrs returned by CGFontGetHMetrics in cairo mac font code to prevent top crasher. r+sr=vlad 2008-07-01 09:02:21 +09:00
Robert O'Callahan
ff76cbbd22 Add Width/Height/GetDataSize getters to gfxImageSurface. r=vlad 2008-06-11 11:46:32 +12:00
Robert O'Callahan
a395b05359 Add 2-axis Scale, operator-, and Contains to gfxRect. r=vlad 2008-06-11 11:43:51 +12:00
mozilla@weilbacher.org
e80bce4bc0 [OS/2] Bug 432575: add options for font hinting and antialiasing to get approximately equal display than on branch. 2008-05-28 05:38:09 -07:00
pavlov@pavlov.net
844a9ac9ed bug 432065. deal with multiple fonts with the same name. r=roc a=schrep 2008-05-07 13:29:48 -07:00
Vladimir Vukicevic
2de5a08c00 Branch merge. 2008-05-01 09:23:23 -07:00
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
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
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
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
29c7f39e27 Added CairoFontFace creation from FcPattern 2008-04-19 18:40:24 +03:00
pekka.aho
23331a2bc9 New version gfxQtFontGroup (kerning & missing glyph support) 2008-04-19 18:39:34 +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
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
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
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
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
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
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
roc+@cs.cmu.edu
14c8d05caf Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad 2008-03-31 02:40:53 -07:00
masayuki@d-toybox.com
5891dcdd07 Bug 425488 Underlines are too far from text (e.g. Gmail links) r+b1.9=stuart 2008-03-29 15:27:25 -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
reed@reedloden.com
601e529c06 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure. 2008-03-28 02:32:03 -07:00
reed@reedloden.com
7ffca204c7 Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+] 2008-03-28 01:40:02 -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
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
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
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
dholbert@cs.stanford.edu
203b5735e3 Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+ 2008-03-19 13:51:42 -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
dholbert@cs.stanford.edu
dfa358c900 Backing out Bug 417356, due to pagination reftest failures. 2008-03-14 01:50:13 -07:00
dholbert@cs.stanford.edu
b847cc90cc Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) r=ventron sr=roc a=blocking1.9+ 2008-03-14 00:48:04 -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
42c23b875c 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:16:05 -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
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
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
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
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
3093080fba Bug 418026: Unconditionally include prio.h and prbit.h in gfxColor.h. sr=dbaron, a=schrep 2008-02-18 23:07:01 -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
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
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
jag@tty.nl
eadd3f29f3 Bug 414971: Mingw build error: `PR_ROTATE_RIGHT32' was not declared in this scope. r=wtc, sr=pavlov, a=mtschrep When using macros from prbit.h, don't expect others to include it for you. 2008-02-07 00:15: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
46731d8754 Bug 409342. Cache pref font lists per lang group during font matching. r+sr=pavlov 2008-01-30 16:23:36 -08:00
jag@tty.nl
7bbff4292c Bug 413143: trunk is broken(sigbus) on SPARC since 20071221. r/sr=pavlov, a=beltzner Unaligned 32-bit memory reads cause a sigbus on SPARC. Turns out that fixing this also gets us a little performance boost on other platforms because we're now mostly doing aligned 32-bit reads. 2008-01-29 22:22:23 -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
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
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
jwatt@jwatt.org
1aae5446b2 Fixing bug 272885. Disable rendering of some elements when their width or height is zero. r=tor@acm.org, sr=vladimir@pobox.com, a1.9=mtschrep@gmail.com 2008-01-27 12:39:27 -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
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
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
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
jag@tty.nl
adfbdddb06 Bug 406580: Faster copying of RGB pixel data For non-Windows, use ntohl() which should compile down to an inline bswap or equivalent. On Windows use _byteswap_ulong() or for MinGW a generic fast implementation. r=pavlov, a=blocking 2008-01-16 20:06:40 -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
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
masayuki@d-toybox.com
b32b439138 a part of bug 410748 (not fixes it) r+sr=roc, a=mtschrep 2008-01-06 23:00:49 -08:00
roc+@cs.cmu.edu
60d6d6e42a Fixing bustage again 2008-01-06 17:32:23 -08:00
roc+@cs.cmu.edu
857dec576b Fixing bustage 2008-01-06 17:14:34 -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
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
dolske@mozilla.com
0afd103072 Bug 409381 - gif images (with transparency) display corrupted. p=swsnyder@insightbb.com, r,sr=vlad, a=blocking-1.9+ 2007-12-23 21:41:18 -08:00
reed@reedloden.com
eefba1c239 Bug 406580 - "Faster copying of RGB pixel data" (Fix the build on FreeBSD) [p=reg@freebsd.org (Jeremy Lea) r+a1.9=stuart] 2007-12-21 22:17:21 -08:00
reed@reedloden.com
75020332e3 This doesn't seem to compile on Mac. 2007-12-21 02:39:33 -08:00
reed@reedloden.com
100f2a76b4 Bug 406580 - "Faster copying of RGB pixel data" (Where Alpha=0xFF, keep RGB values contiguous in pixel copying) [p=swsnyder@insightbb.com (Steve Snyder) r+a1.9=stuart] 2007-12-21 02:26:31 -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
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
vladimir@pobox.com
11e3011229 fix linux bustage 2007-11-29 12:16:04 -08:00