Commit Graph

920 Commits

Author SHA1 Message Date
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
Simon Montagu
b0ca17eddd Bug 449577. Remove GetHints(), r+sr=roc 2008-08-11 18:19:01 +03:00
Vladimir Vukicevic
b9335eeb11 b=422221; additional DirectFB compilation fixes 2008-08-09 22:25:30 -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
4777074613 [dfb,422221] merge fixup; fix temp xlib surface creation 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
47e8b31ff1 [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07: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
7c82d23645 Fixed show_glyphs build error according to latest cairo 1.6.4 update 2008-08-04 02:30:08 +03:00
Oleg Romashin
6df73fd09d Fixed bug 448961 - error: comma at end of enumerator list 2008-08-04 00:12:04 +03:00
Oleg Romashin
dbbb2a81ec Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin
bc6cd35488 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Ginn Chen
e4428cafe9 Backout bug 440714, it failed on Mac OS X 2008-07-29 23:51:49 +08:00
Ginn Chen
54cdd01353 Bug 440714 Firefox 3 failed to start on Solaris, r=vladimir 2008-07-29 23:41:41 +08:00
Ian Neal
2cc0239904 Bug 447776 – Hang with word-wrap: break-word and width: 0px
with testcase and crashtests
p=smontagu r/sr=roc
2008-07-27 17:43:07 +01:00
Karl Tomlinson
d8c5181f96 rounding changes in nsNativeThemeGTK::DrawWidgetBackground,
rename aClipRect to aDirtyRect in nsITheme::DrawWidgetBackground. b=444837 r=roc
2008-07-25 11:01:59 +12: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
Vladimir Vukicevic
64fb32b518 b=446323, Upgrade cairo to 1.6.4-350-g1a9809b; r=vlad 2008-07-20 14:15:22 -07:00
Vladimir Vukicevic
7b7cfbab99 Backed out changeset 20534cf9abf5 2008-07-20 15:35:51 -07:00
Vladimir Vukicevic
b25dd7a8bf b=446323, Upgrade cairo to 1.6.4-348-g96c9e2a; r=vlad 2008-07-20 14:15:22 -07:00
Peter Weilbacher
047958a689 [OS/2] Bug 439194: simple glyph matching across all installed fonts 2008-07-20 18:51:49 +00:00
Simon Montagu
5ab37eaa02 Remove unused ccmap files. Bug 445877, r+sr=dbaron 2008-07-20 11:37:00 +03:00
Eric Butler
2dab44aa60 Expose Cairo path copy/append functions through Thebes - bug 445616 r=vlad 2008-07-18 11:26:02 -07:00
L. David Baron
b86e94a100 Fix generation of precompiled cmaps on 64-bit platforms to match what the code expects. (Bug 445626) r=smontagu 2008-07-17 16:37:12 -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
Karl Tomlinson
333c18ab53 cairo_draw_with_xlib should provide a non-NULL visual to callback. b=445250 r=vlad 2008-07-17 13:22:50 +12: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
Robert O'Callahan
2d4fd7e6b5 Bug 444690. gfxPlatformGTK::CreateOffscreenSurface should clear the surface to be consistent with other platforms. r=vlad 2008-07-14 09:40:16 +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
096f79ffa2 remove excess spaces to force rebuild for system-headers changes 6c0971153949 2008-07-08 16:58:17 +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
Mats Palmgren
b01b0154dd Fix bug 441360. r+sr=vlad 2008-07-08 02:00:22 +02:00
Mats Palmgren
5605db70df Fix potential memory leak. b=441454 r+sr=vlad 2008-07-08 01:49:39 +02:00
Mats Palmgren
eeaac22dff Backout crash tests for bug 409006 since it caused other crash tests to fail loading (403296-1.xhtml). 2008-07-03 16:00:32 +02:00
Mats Palmgren
7dff52cbb1 Crash tests for bug 409006. 2008-07-03 14:57:20 +02:00
Mats Palmgren
3856a18945 Backout crash tests for bug 409006. 2008-07-02 15:50:53 +02:00
Mats Palmgren
ccdf3aa2b1 Crash test for bug 409006. 2008-07-02 13:13:15 +02: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
Simon Montagu
661c1e5933 Set glyph info for low surrogates in Pango. Bug 439910, r+sr=roc 2008-06-18 23:14:51 -07:00
Ginn Chen
d94506c0a7 Bug 435739 Poor performance of Firefox 3 with no X RENDER extension
r=vladimir
2008-06-11 18:29:21 +08: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
Robert O'Callahan
170eb005a5 Make gfxImageSurface clear allocated surface data. r=vlad 2008-06-11 11:05:43 +12:00
pavlov@pavlov.net
1d63f66c30 bug 434401. crash due to not finding a font on startup in some cases. r=karlt a=beltzner 2008-05-28 16:55:40 -07:00
mozilla@weilbacher.org
350d31dbcd [OS/2] Bug 432575: add options for font hinting and antialiasing to get approximately equal display than on branch. (Oops, don't want to get the debugging output by default!) 2008-05-28 05:55:36 -07: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
gavin@gavinsharp.com
96617b5a7b Followup comment fix for bug 434157 2008-05-27 11:22:38 -07:00
gavin@gavinsharp.com
005df97b32 Bug 434157: Font scaling of Vista doesn't work as good with RC1 than it did with Betas, patch by roc@ocallahan.org, r=vlad, a=beltzner 2008-05-27 10:57:04 -07:00
gavin@gavinsharp.com
77623d122c Bug 432071: Type 1 fonts don't print correctly, patch by Adrian Johnson <ajohnson@redneon.com>, r=stuart, a=schrep 2008-05-08 09:48:15 -07:00
gavin@gavinsharp.com
52f36f8928 Bug 432062: Windows vector font rendering is broken, patch by roc@ocallahan.org, r=stuart, a=schrep 2008-05-08 08:38:22 -07:00
reed@reedloden.com
36791e9cf4 Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -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
reed@reedloden.com
9b09692af7 Bug 223442 - "consider moving mac-specific files in gfx/public to a mac directory" (Remove nsWatchTask.h) [p=reg@openpave.org (Jeremy Lea) r+sr=biesi a1.9=beltzner] 2008-05-07 03:16:27 -07:00
Vladimir Vukicevic
2638e3dc51 [qpainter] Create QImages directly from image surfaces used as source 2008-05-04 11:51:37 -07:00
Vladimir Vukicevic
61173d504c [qpainter] Use drawTiledPixmap if possible; abstract fast filling code from paint() and fill() 2008-05-04 11:17:52 -07:00
crowder@fiverocks.com
a267b3970f Bug 431413: Crash in gfxWindowsFontGroup::InitTextRunUniscribe, r=pavlov, sr=roc, a=mtschrep 2008-05-03 21:25:13 -07:00
Vladimir Vukicevic
a3f57ae957 [qpainter] Use drawImage/drawPixmap in fill() for non-repeating sources 2008-05-01 11:54:35 -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
vladimir@pobox.com
89790e741b b=431391; printing pages with type1 fonts on win32 prints garbage; patch from upstream; r+a=me 2008-04-30 09:45:24 -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
4b5e5cb7f8 b=430979, CGFont leaks -- patch from upstream; r=me, a=damon 2008-04-28 14:27:35 -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
caillon@redhat.com
15b26ea0b6 Bug 384090 - [GTK+] incorrect logical resolution for converting font sizes in pt, etc. Get the actual resolution used by GTK+/X instead of a best-guess based on screen dimensions r=Behdad Esfahbod, Owen Taylor sr=Robert O'Callahan a=Damon Sicore 2008-04-28 13:47:54 -07:00
vladimir@pobox.com
cf8ffd14c5 b=429678, crash with failed printing of outset border with transparency; patch from upstream; a=me 2008-04-25 09:35:24 -07:00
Olli.Pettay@helsinki.fi
2e5ae015ff backout Bug 430465 2008-04-25 04:31:13 -07:00
roc+@cs.cmu.edu
914869aff7 Bug 430465. Don't round source coordinates in the tiled-image-drawing path. r=vlad,a=beltzner 2008-04-25 02:40:04 -07:00
jruderman@hmc.edu
3f9bb54348 Adding a crashtest 2008-04-22 21:09:02 -07:00
roc+@cs.cmu.edu
2c14fc8681 Bug 429899 crashtest 2008-04-22 19:08:20 -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
6e1b75baa7 [qpainter] take redirected device offsets into account in acquire_source_surface 2008-04-20 06:50:50 -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
fe62d13caf [qpainter] Correctly convert QMatrix -> cairo_matrix_t 2008-04-20 01:41:51 -07:00
Vladimir Vukicevic
750f140f1d [qpainter] Implement gradients in qpainter cairo backend; cleanup ben/brush conversion 2008-04-20 01:41:25 -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
Vladimir Vukicevic
a144ca692a [qpainter] Set a clip on the xlib surface when drawing glyphs; correct redir offsets
Also create an xlib surface correctly for widgets, taking into account
redirected device offsets (such as when double buffering)
2008-04-20 01:35:51 -07:00
vlad
e7ce5b00f4 Qt: widget/gfx work (gfx part)
- 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-20 11:27:17 +03:00
romaxa@romaxa.research.nokia.com
56541781f4 Fixed wrong gfxPlatformQt include name 2008-04-19 20:16:59 +03:00
stuart
8bc7b34f51 adding synthetic italic support 2008-04-19 19:07:24 +03:00