Commit Graph

817 Commits

Author SHA1 Message Date
Vladimir Vukicevic
8dd105f4c1 [dfb,422221] merge fixup 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
284d55df26 [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
1564d4a50a [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
0845cd7905 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
John Daggett
036defdf90 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)
e9b1bb3657 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
Bobby Holley
d2099fd0a8 turned on the fastpath introduced in the main patch for bug 445552.r=stuart 2008-08-18 16:44:37 -07:00
Ginn Chen
e6b2bd7c00 Bug 449751 gfxFont.cpp failed to compile with Sun Studio 12 r=jdaggett sr=pavlov 2008-08-18 16:31:53 +08:00
Stuart Parmenter
21b1ae16c8 bug 448989. Merging the mozilla-qt repository. r=me,vlad 2008-08-16 23:18:27 -07:00
Bobby Holley
a19ebe3def Floating point path through lcms as part of bug 445552. r=vlad 2008-08-16 14:44:51 -07:00
Bobby Holley
311ed5b7af LCMS precaching patch to speed up linear interpolations - bug 444661. r=joe,sr=vlad 2008-08-15 13:59:18 -07:00
Oleg Romashin
4490c66152 merge with mozilla-central 2008-08-16 03:39:26 -04:00
Simon Montagu
41c5cf4f91 Prevent crash with long string of Indic characters. Bug 445711, r=pavlov 2008-08-14 11:20:46 +03:00
Robert O'Callahan
1320053484 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
3e81f0a50a 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
Vladimir Vukicevic
c96257260c b=422221; additional DirectFB compilation fixes 2008-08-09 22:25:30 -07:00
Oleg Romashin
1afed1eab7 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
75fc2387ae mozilla-central merge 2008-08-08 13:05:00 +03:00
Vladimir Vukicevic
b6e169008f [dfb,422221] merge fixup; fix temp xlib surface creation 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
1bfb08c84e [dfb,422221] Correctly create GdkRectangles and GdkDrawables instead of X equivalents 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
27b16f2a53 [dfb,422221] Gtk/DirectFB: turn NativeXlibRenderer into NativeGdkRenderer 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
298b275851 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Oleg Romashin
e8436023c1 Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin
427aa3fb16 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Ian Neal
d4c933c660 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
Simon Montagu
0185f285af Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Bobby Holley
c06160cfeb Firefox honors embedded ICC intent flag - bug 444014 r=vlad 2008-07-23 10:33:12 -07:00
Vladimir Vukicevic
4098e33bc4 b=424423; border rendering is slow: add APIs to thebes; r=joe 2008-07-23 10:25:00 -07:00
Peter Weilbacher
8de00c2cbe [OS/2] Bug 439194: simple glyph matching across all installed fonts 2008-07-20 18:51:49 +00:00
Eric Butler
1ed317198b Expose Cairo path copy/append functions through Thebes - bug 445616 r=vlad 2008-07-18 11:26:02 -07:00
Bobby Holley
0cb5fecb1a System color profile handle not freed on thebes shutdown - bug 444829 r=vlad 2008-07-16 20:09:08 -07:00
Karl Tomlinson
9738632051 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
947cb5c85f 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
5b78a8d997 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
91826e2fd0 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
f39cfdc3c2 remove excess spaces to force rebuild for system-headers changes 6c0971153949 2008-07-08 16:58:17 +12:00
Karl Tomlinson
ccb2fa8327 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
ca25fa69ba Fix bug 441360. r+sr=vlad 2008-07-08 02:00:22 +02:00
Mats Palmgren
187c62ada6 Fix potential memory leak. b=441454 r+sr=vlad 2008-07-08 01:49:39 +02:00
L. David Baron
125a18e0a9 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
Zack Weinberg
0cb6b35cce 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
d4c50db758 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
aea64b3cb9 Set glyph info for low surrogates in Pango. Bug 439910, r+sr=roc 2008-06-18 23:14:51 -07:00
Ginn Chen
f72ebb22d6 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
31af099e04 Add 2-axis Scale, operator-, and Contains to gfxRect. r=vlad 2008-06-11 11:43:51 +12:00
Robert O'Callahan
a8e32416ef Make gfxImageSurface clear allocated surface data. r=vlad 2008-06-11 11:05:43 +12:00
pavlov@pavlov.net
a5d1b870e6 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
ceacb00c81 [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
1c5dc0098b [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
2193f848b1 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
pavlov@pavlov.net
2402023474 bug 432065. deal with multiple fonts with the same name. r=roc a=schrep 2008-05-07 13:29:48 -07:00
Vladimir Vukicevic
820030d6b2 [qpainter] Create QImages directly from image surfaces used as source 2008-05-04 11:51:37 -07:00
crowder@fiverocks.com
7ffacfd412 Bug 431413: Crash in gfxWindowsFontGroup::InitTextRunUniscribe, r=pavlov, sr=roc, a=mtschrep 2008-05-03 21:25:13 -07:00
Vladimir Vukicevic
61d5de4912 Branch merge. 2008-05-01 09:23:23 -07:00
Oleg Romashin
82edc89756 Fixed optimized cairo_surface_fill for image surface
Enable OptimizeImage for X11 QSurface
2008-05-01 14:50:24 +03:00
jdaggett@mozilla.com
155ba88610 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
71d470b9e7 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
roc+@cs.cmu.edu
bdc627e140 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
10e2cf8a01 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -07:00
roc+@cs.cmu.edu
f4aaba59ec Backing out bug 427411 2008-04-28 17:28:22 -07:00
roc+@cs.cmu.edu
9a73c732a7 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
fb8045c358 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
1509b8dce8 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
956d17e4da removing printfs 2008-04-20 04:38:54 -07:00
Stuart Parmenter
e30ec1dae9 use fontconfig for font lookup misses and cache the results 2008-04-20 04:34:04 -07:00
Stuart Parmenter
72d5cedc28 removing +x on the files 2008-04-20 03:37:33 -07:00
Vladimir Vukicevic
cc32b20298 [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
84cb5da13d adding synthetic italic support 2008-04-19 19:07:24 +03:00
romashin
7b6b890c3a Probably Fixed crash on device
Add binary package microb-precious
2008-04-19 19:07:05 +03:00
vlad
15b3e60502 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
1e6bd20e92 Remove files added by mistake 2008-04-19 18:56:33 +03:00
romashin
9383b23d55 Fixed compilation problems with sb-QT arm 2008-04-19 18:53:37 +03:00
romashin
c5fe03a88c 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
92b53dacd5 Return back Qt font using 2008-04-19 18:40:46 +03:00
romashin
65ff5bf8cb Added cairoFontface destroy 2008-04-19 18:40:37 +03:00
romashin
63cec293f0 Some metrics cleanup 2008-04-19 18:40:28 +03:00
romashin
7df91b1795 Added CairoFontFace creation from FcPattern 2008-04-19 18:40:24 +03:00
romashin
f7041ddc2a Add more proper initialization of QFont, weight, styles... 2008-04-19 18:40:20 +03:00
romashin
c8eb68b016 Fixed www.linux.org.ru displaying 2008-04-19 18:40:16 +03:00
romashin
624786a657 Added comment about QFontMetricsF 2008-04-19 18:40:03 +03:00
romashin
ff8612be79 Enabled stuff for proper mMetrics.subscriptOffset mMetrics.superscriptOffset calculation 2008-04-19 18:39:59 +03:00
romashin
63814e51af Added some stuff from gfxPangoFonts implementation 2008-04-19 18:39:55 +03:00
romashin
1609d46525 Add SanitizeMetrics 2008-04-19 18:39:50 +03:00
romashin
cd0626528d Fixed underline offset 2008-04-19 18:39:46 +03:00
pekka.aho
fbfdd6a80b New version gfxQtFontGroup (kerning & missing glyph support) 2008-04-19 18:39:34 +03:00
pekka.aho
564f4e929f Basic font implementation 2008-04-19 18:37:47 +03:00
pekka.aho
6c79b2fceb first version of the gfxQtFontGroup 2008-04-19 18:37:43 +03:00
pekka.aho
c3a84ac1ef First version of gfxQtFont 2008-04-19 18:37:38 +03:00
romashin
55335215e0 Some font updates 2008-04-19 18:37:23 +03:00
pekka.aho
22805a0c52 first version of gfxQtFont::GetMetrics 2008-04-19 18:37:18 +03:00
romashin
98b89e39ea Added more debug info for fotns 2008-04-19 18:37:14 +03:00
Oleg Romashin
ca81ff0a1b Added Screen Manager
Some fixes and addditional stuff for fonts
2008-04-19 18:14:15 +03:00
Oleg Romashin
5b7615673a Simple stuff for QT fonts (no crash) 2008-04-19 18:14:11 +03:00
Oleg Romashin
e87ddcbfe9 Process updates 2008-04-19 18:13:55 +03:00
romaxa@romaxa.research.nokia.com
294c342ecb Add base implementation of gfxQtPlatform and widget/qt 2008-04-19 18:02:52 +03:00
romaxa@romaxa.research.nokia.com
863ea5db54 Add initial fonts stuff for Qt port 2008-04-19 16:46:17 +03:00
romaxa@romaxa.research.nokia.com
ceb1675498 Add new cairo-qpainter backend for building in cairo-qt configuration 2008-04-19 16:34:30 +03:00
romaxa@romaxa.research.nokia.com
276c52d6f3 Add cairo-ft dependency for QT-gfx 2008-04-19 16:31:30 +03:00
romaxa@romaxa.research.nokia.com
4443878b3b Enabled building of gfxQtFonts and gfxQtPlatform for cairo-qt configuration 2008-04-19 16:19:04 +03:00
jdaggett@mozilla.com
bb0afdab7b Bug 428458. Fix fixed-pitch font handling for mac/win. r+sr=roc, a=vlad 2008-04-18 02:11:47 -07:00