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
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
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
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
70e531b8b4
Still some indent fixes
2008-04-19 18:43:27 +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
pekka.vanhoja
8455454401
Optimized font retrieval
2008-04-19 18:40:42 +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
2b78716c7a
Updated to trunk
2008-04-19 18:40:12 +03:00
romashin
688967a8a9
Add question about QFontInfo usage
2008-04-19 18:40:07 +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