Commit Graph

361 Commits

Author SHA1 Message Date
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