Commit Graph

439 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
romashin
d3112cf672 Fixed underline offset 2008-04-19 18:39:46 +03:00
pekka.aho
23331a2bc9 New version gfxQtFontGroup (kerning & missing glyph support) 2008-04-19 18:39:34 +03:00
pekka.aho
f4daeca3eb Basic font implementation 2008-04-19 18:37:47 +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
romashin
d3d42719ce Added more debug info for fotns 2008-04-19 18:37:14 +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
Oleg Romashin
3b3ac75525 Process updates 2008-04-19 18:13:55 +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
257b6a32af Add cairo-ft dependency for QT-gfx 2008-04-19 16:31: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
gavin@gavinsharp.com
4f1e14850e Bug 405684: checking incorrect character in UniscribeItem::ComputeRanges, patch by pavlov@pavlov.net, r=vlad, a=beltzner 2008-04-17 18:46:47 -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
karlt+@karlt.net
a47f75781a Ensure aveCharWidth is wide enough for numerals. b=410405 r=pavlov a1.9=schrep 2008-04-15 18:03:51 -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