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
romashin
d3112cf672
Fixed underline offset
2008-04-19 18:39:46 +03:00
romashin
ba583e4595
Added QSystemFont implementation
2008-04-19 18:39:42 +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
roc+@cs.cmu.edu
153c4bfed0
Bug 409227. _cairo_clip_init_deep_copy should pass 0,0 as the starting coordinates when it clones the clip surface, because we just want an exact copy of the surface. r=vlad,a=beltzner
2008-04-17 01:22:31 -07:00
vladimir@pobox.com
253308a219
b=428563, minor upgrade to cairo 1.6.4, really this time; r=me,a=beltzner
2008-04-16 05:44:28 -07:00
leon.sha@sun.com
767c62ace7
Bug 428903 There are debug information printed in release build. (nsThebesDeviceContext.cpp). vladimir: review+ vladimir: superreview+ beltzner: approval1.9+
2008-04-15 20:27:03 -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
karlt+@karlt.net
f1354bea5a
Use ceil instead of round in GetAveCharWidth and GetSpaceWidth for consistency with GetMaxAdvance. b=428458 r=pavlov sr=roc a1.9=damons
2008-04-15 16:34:06 -07:00
pavlov@pavlov.net
7c477e8860
bug 424386. return the correct depth rather than a hardcoded 24. r/a=vlad
2008-04-15 07:16:29 -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
masayuki@d-toybox.com
0767329450
Bug 426616 Acid2 chin is 1px too tall in FF3b5 r=pavlov, sr=roc, a1.9=beltzner
2008-04-12 01:54:18 -07:00
vladimir@pobox.com
caa7ec4ebe
backout?
2008-04-11 13:08:04 -07:00
vladimir@pobox.com
e3f40cc890
forgot to update README file
2008-04-11 12:45:28 -07:00
vladimir@pobox.com
8339071796
b=428563, Upgrade Cairo to 1.6.2; r=me,a=beltzer
2008-04-11 12:38:41 -07:00
reed@reedloden.com
1f95f2294c
Bug 427985 - "Mozilla stops repainting in this testcase after a while" (leak fix) [p=pavlov@pavlov.net (Stuart Parmenter) r=vlad b1.9+a1.9=damons]
2008-04-11 00:01:14 -07:00
karlt+@karlt.net
e5239b111e
Use a PangoFontMap for pango_itemize that provides the same primary font from document language rather than adjacent characters b=416725, r+sr+a1.9=pavlov
2008-04-08 23:55:49 -07:00
karlt+@karlt.net
036bda2117
Backing out b=410405 to see if it fixes test failures.
2008-04-08 19:29:44 -07:00
karlt+@karlt.net
a550baeaa3
Ensure aveCharWidth is wide enough for numerals. b=410405, r=pavlov.
2008-04-08 17:02:41 -07:00
vladimir@pobox.com
7e9ef5c071
b=419715, minor cairo upgrade to un-roll-back regressions and add fixes from upstream ; r=me
2008-04-08 13:11:21 -07:00
longsonr@gmail.com
51b6a3dc2f
Bug 425662 - Scaled SVG content can get the wrong metrics and poison the cache. r+sr=roc,a1.9=beltzner
2008-04-08 06:12:04 -07:00
jdaggett@mozilla.com
d0a6c2dd33
Bug 423571. Short circuit system-wide font fallback for U+FFFD on Mac. r+sr=vlad
2008-04-08 01:46:15 -07:00
pavlov@pavlov.net
8f4d2f8df6
bug 427084. Use GetGlyphIndiciesW rather than ScriptGetCMap for type1 fonts. r=vlad
2008-04-08 00:32:38 -07:00
joshmoz@gmail.com
9e7302e02d
back out 425662 for longsonr because it might have caused tbox orange
2008-04-07 20:53:12 -07:00
dholbert@cs.stanford.edu
d4e585ef8e
Bug 389949, first patch: Use POINTS_PER_INCH_FLOAT in place of magic number '72.0f'. Basically cosmetic -- shouldn't change our behavior at all. r+sr=vlad, a=blocking1.9+
2008-04-07 17:27:10 -07:00
longsonr@gmail.com
a0a20348fe
Bug 425662 - Scaled SVG content can get the wrong font size and poison the font cache. r+sr=roc,a1.9=beltzner
2008-04-07 16:18:12 -07:00
vladimir@pobox.com
50e6dca1da
roll back cairo commit c1062bf to fix assertion failures
2008-04-07 02:17:14 -07:00
vladimir@pobox.com
d7ddef3d99
dummy commit to kick tinderbox
2008-04-06 23:34:48 -07:00
vladimir@pobox.com
b768ba704e
b=419715, upgrade cairo to 1.6 or as-close-as-possible -- add patch to fix cairo bustage ; r=me
2008-04-06 22:09:53 -07:00
vladimir@pobox.com
7439270a65
b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade-more.patch ; r=me
2008-04-06 22:09:44 -07:00
vladimir@pobox.com
06c698810e
b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me
2008-04-06 22:08:30 -07:00
vladimir@pobox.com
29dafd8255
b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch pixman-upgrade.patch ; r=me
2008-04-06 22:07:38 -07:00
vladimir@pobox.com
3f56db9279
backout [mq]: cairo-rollback.patch
2008-04-06 16:34:08 -07:00
vladimir@pobox.com
15fb35ff66
b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade-more.patch ; r=me
2008-04-06 15:14:31 -07:00
vladimir@pobox.com
2d82be0e34
b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me
2008-04-06 15:14:09 -07:00
vladimir@pobox.com
66ca70eb2d
b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch pixman-upgrade.patch ; r=me
2008-04-06 15:13:57 -07:00
roc+@cs.cmu.edu
7520c2dc11
Crashtest for bug 423270.
2008-04-06 03:14:31 -07:00
roc+@cs.cmu.edu
ed465e43d2
Bug 423270. Make gfxTextRunWordCache handle cases where a space and another character combine to form a ligature. r=vlad
2008-04-06 03:12:21 -07:00
pavlov@pavlov.net
3272e891cd
bug 425336. check for S_OK explicitly rather than != S_FALSE. r=vlad
2008-04-04 00:39:58 -07:00
smontagu@smontagu.org
bd00284645
Bug 378105. Update default fonts for Indic scripts. r=pavlov, ui-review+approval1.9=beltzner
2008-04-03 21:23:18 -07:00
pavlov@pavlov.net
7ec0340036
bug 425336. fix problems with bitmap and vector fonts. r=vlad
2008-04-03 19:21:06 -07:00
jdaggett@mozilla.com
2c8eb2e601
Bug 419744. Load font cmap info via a background task. r+sr=stuart
2008-04-03 19:01:22 -07:00
reed@reedloden.com
7d5f859f79
Bustage fix for bug 413787.
2008-04-01 22:21:01 -07:00
reed@reedloden.com
2372c88cc4
Bustage fix for bug 413787.
2008-04-01 21:09:08 -07:00
reed@reedloden.com
f4bcba49f5
Bug 413787 - "NSToIntRound, NSToCoordRound code generation" [p=mmoy@yahoo.com (Michael Moy) r+sr=roc a1.9=schrep]
2008-04-01 20:47:07 -07:00
roc+@cs.cmu.edu
6f195369f9
Bug 424873. Make GetWidgetOverflow take the new frame size as input instead of using the possibly-stale old frame size. r+sr=dbaron
2008-04-01 16:34:20 -07:00
reed@reedloden.com
28beb983ed
Bug 394103 - "All elements are HUGE (when doing dpi autodetect?)" (scale for 192+ dpi) [p=asac@jwsdot.com (Alexander Sack) r+sr=roc a1.9=schrep]
2008-04-01 01:41:21 -07:00
roc+@cs.cmu.edu
14c8d05caf
Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad
2008-03-31 02:40:53 -07:00
mozilla@weilbacher.org
3ba4441f13
Bug 418104: Remove non-cairo Windows gfx code from the tree, removal of all obsolete files, r=alfredkayser, sr=pavlov, a=beltzner
2008-03-30 03:12:50 -07:00
masayuki@d-toybox.com
5891dcdd07
Bug 425488 Underlines are too far from text (e.g. Gmail links) r+b1.9=stuart
2008-03-29 15:27:25 -07:00
masayuki@d-toybox.com
3ea5191188
Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner
2008-03-29 14:25:15 -07:00
reed@reedloden.com
601e529c06
Back out Robert O'Callahan's patch from bug 421885 due to reftest failure.
2008-03-28 02:32:03 -07:00
reed@reedloden.com
7ffca204c7
Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+]
2008-03-28 01:40:02 -07:00
vladimir@pobox.com
806f7572fd
b=425593, print failure with 'some printing functionality not implemented' message (it\'s NS_OK, really!); r=stuart
2008-03-28 00:13:37 -07:00
pavlov@pavlov.net
987abc1e3e
bug 424945. reduce GDI object use by using the selected font weight and rounded font size (when no size adjust) for doing cache lookups. r=vlad
2008-03-27 16:30:43 -07:00
jruderman@hmc.edu
daae248002
Add a crashtest
2008-03-26 19:40:46 -07:00
vladimir@pobox.com
c3bf671567
b=409953; deref of null pointer on cancel of print-to-file (ignoring errors during printing is bad, mmmkay?); r=stuart
2008-03-26 18:21:46 -07:00
jruderman@hmc.edu
2110063ad2
Adding a crashtest.
2008-03-26 18:20:59 -07:00
jruderman@hmc.edu
5523660f04
Add crashtests
2008-03-26 16:23:43 -07:00
masayuki@d-toybox.com
9ff1d27f63
Bug 425249 gfxWindowsPlatform::InitBadUnderlineList() is broken by bug 424018 r+b1.9+a1.9b5=stuart
2008-03-26 14:43:43 -07:00
pavlov@pavlov.net
858afd3940
bug 424018. fix ts regression by loading character maps lazily. r=vlad
2008-03-26 14:32:51 -07:00
pavlov@pavlov.net
13cfb3e1b1
backing out changes that weren't supposed to be part of my previous backout...
2008-03-26 14:13:32 -07:00
pavlov@pavlov.net
ec43cada45
backing out previous patch.
2008-03-26 13:24:37 -07:00
pavlov@pavlov.net
8dd5ec194a
bug 424018. make character map loading lazy to fix ts regression. r=vlad a=beltzner
2008-03-26 11:02:57 -07:00
reed@reedloden.com
beb2bcda05
Bug 424650 - "Wrong nsAutoPtr usage break Mingw build" [p=Techrazy.Yang@gmail.com (Bo Yang) r=stuart a1.9b5=beltzner]
2008-03-24 21:46:30 -07:00
pavlov@pavlov.net
49d256e3b7
backing out trial patch for bug 424018.
2008-03-23 01:23:45 -07:00
pavlov@pavlov.net
0643e29f3c
trial run for bug 424018. trying to fix Ts regression
2008-03-22 22:41:52 -07:00
pavlov@pavlov.net
79876622a0
bug 424566. fix crash in font selection. r/a=vlad
2008-03-22 18:13:10 -07:00
pavlov@pavlov.net
6eb12f095d
bug 424165. clamp font weights from the OS to be within 100 and 900. r/a=vlad
2008-03-21 21:16:00 -07:00
pavlov@pavlov.net
e0600d71d3
bug 399636. make symbol fonts behave in unexpected ways. r=vlad a=beltzner
2008-03-21 15:19:12 -07:00
pavlov@pavlov.net
c70b188d3d
bug 424398. fix crash when installing new fonts while loading pages. r=vlad a=beltzner
2008-03-21 14:22:29 -07:00
pavlov@pavlov.net
ad1544830c
bug 418384. use GDI when Uniscribe doesn't like a font. Fixes crash. r=vlad a=beltzner
2008-03-21 13:22:58 -07:00
pavlov@pavlov.net
1f45c5e6ac
bug 424165. Fixes crashes and problems with choosing a bold font when we should pick a lighter one. r=vlad a=beltzner
2008-03-20 15:09:45 -07:00
pavlov@pavlov.net
f06dca55e3
bug 382542. support synthetic bold for fonts. r=vlad
2008-03-19 22:35:05 -07:00
pavlov@pavlov.net
797b22d6ab
bug 382542. fix problems with font fallback and font variations. r=vlad/jdaggett
2008-03-19 17:41:19 -07:00
jdaggett@mozilla.com
a4df87005a
Bug 364713. Synthetic bolding/italics on mac using double-strike and font matrix skew. r=vlad,stuart, sr=stuart
2008-03-19 17:02:21 -07:00
dholbert@cs.stanford.edu
203b5735e3
Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+
2008-03-19 13:51:42 -07:00
pavlov@pavlov.net
403fc060ec
bug 382542. Deal with different style variations of fonts containing different character maps. r=vlad
2008-03-18 17:06:55 -07:00
vladimir@pobox.com
30ffae6ef2
b=423524, CGContextGetType warnings showing up in console, r=stuart
2008-03-18 13:36:40 -07:00
vladimir@pobox.com
5b4ea270a2
b=422661, long table border rendered incompletely (wrong coordinate conditioning in gfxRect), r+sr=roc
2008-03-18 13:30:16 -07:00
mozilla@weilbacher.org
89161426b2
[OS/2] Bug 423115: OS/2 build break about GCC parameters in libpixman, r=vlad
2008-03-15 11:45:30 -07:00
vladimir@pobox.com
a8e39d6a63
b=421422, cairo upgrade followup, fixing subpixel AA on OSX
2008-03-14 23:20:21 -07:00
vladimir@pobox.com
4bdbafdc90
b=421422, cairo upgrade ; r=me
2008-03-14 20:45:12 -07:00
vladimir@pobox.com
cf1fc3fd9a
b=421422, cairo upgrade ; r=me
2008-03-14 20:44:23 -07:00
pavlov@pavlov.net
64b1e11538
bug 396315. Fixing type1 fonts on Windows. r=vlad
2008-03-14 16:02:32 -07:00
mozilla@weilbacher.org
8b253bd1c4
Bug 418105: Remove non-cairo Mac gfx code from the tree, r=joshmoz, sr=vladimir, a1.9=beltzner
2008-03-14 12:59:41 -07:00
reed@reedloden.com
dbeca7882f
Bug 415854 - "make single-pixel optimization release surface memory" (remove ThebesPattern) [p=joe@drew.ca (Joe Drew [JOEDREW!]) r=vlad a=blocking1.9+]
2008-03-14 09:37:05 -07:00
reed@reedloden.com
af7413b17e
Bug 422620 - "Remove NS_BrightenColor and NS_DarkenColor" [p=alfredkayser@gmail.com (Alfred Kayser) r=vlad a1.9=damons]
2008-03-14 09:27:14 -07:00
dholbert@cs.stanford.edu
dfa358c900
Backing out Bug 417356, due to pagination reftest failures.
2008-03-14 01:50:13 -07:00
jdaggett@mozilla.com
fe4a01e013
Bug 408965. Cmaps for fonts with Unicode-platform format-12 cmaps are not read (patch by Jjgod Jiang). r+sr=stuart
2008-03-14 01:35:35 -07:00
dholbert@cs.stanford.edu
b847cc90cc
Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) r=ventron sr=roc a=blocking1.9+
2008-03-14 00:48:04 -07:00
pavlov@pavlov.net
4e4415d384
bug 420675. shouldn't be bolding weight 500. r=vlad
2008-03-13 23:17:25 -07:00
stefanh@inbox.com
7984e34c0c
Bug 421814 - Use HITheme to draw backgrounds for groupboxes. r=josh+Mano, sr=roc, a1.9=dsicore.
2008-03-13 13:24:29 -07:00
masayuki@d-toybox.com
75cfe2466f
Bug 390901 CJK - font-name is not recognised correctly in preferences p=me+jdagett(mac part)+kerlt(fontconfig part) r=jdagett+me+stuart+mconnor b1.9=stuart
2008-03-13 03:32:50 -07:00
pavlov@pavlov.net
42c23b875c
bug 396315. get type1 fonts fonts mostly displaying correctly. (also fixes bug 410801. use postscript opentype fonts for fallback) r=vlad
2008-03-12 21:16:05 -07:00
pavlov@pavlov.net
7911a69906
bug 396315. get type1 fonts fonts mostly displaying correctly. (also fixes bug 410801. use postscript opentype fonts for fallback) r=vlad
2008-03-12 21:15:24 -07:00
masayuki@d-toybox.com
821cf1156c
Bug 417014 Need blacklist system for underline offset adjusting of CJK fonts which have wrong underline offset r=roc+stuart, sr=roc, b1.9=stuart
2008-03-12 19:36:58 -07:00
reed@reedloden.com
30f5471b69
Bug 385516 - "Console is spewed with WARNING: empty langgroup" (Add default constructor to gfxFontStyle and use it) [p=wasti.redl@gmx.net (Sebastian Redl) r=stuart a1.9=damons]
2008-03-12 03:52:58 -07:00
jruderman@hmc.edu
1ec364a8a5
Add crashtests
2008-03-11 17:42:51 -07:00
roc+@cs.cmu.edu
10c363c287
Bug 418428. Don't force devpixels to be an integer multiple of CSS pixels when printing on Windows. r=stuart
2008-03-11 17:35:00 -07:00
blassey@mozilla.com
3c99833e3e
backing out: switching narrow char system calls to wide char in windows b=418703
2008-03-11 15:46:26 -07:00
blassey@mozilla.com
eeea24bde6
switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon
2008-03-11 14:49:53 -07:00
karlt+@karlt.net
3f2978a173
Bug 421955. combining mark at start of text run rendered as NUL hex box or garbage. r=roc, a1.9=damons
2008-03-11 00:04:31 -07:00
mozilla@weilbacher.org
8aea370edc
[OS/2] Bug 369791: adapt plugin code to compile with cairo-os2, this in principle allows plugin content to be printed and windowless plugins to display, r=mkaply, a1.9+=damons
2008-03-10 17:10:55 -07:00
roc+@cs.cmu.edu
11aa232422
Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron
2008-03-09 14:55:05 -07:00
bmlk@gmx.de
a9dad73560
There is no height greater than unconstrained height, bug 402872, r/sr=roc a=beltzner
2008-03-08 01:12:30 -08:00
roc+@cs.cmu.edu
72bddc7c36
Backing out Bug 403181. JPEG encoding test failure :-(
2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
18b5f6db55
Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron
2008-03-07 00:34:12 -08:00
vladimir@pobox.com
104f6a38a1
b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad
2008-03-05 22:51:13 -08:00
jdaggett@mozilla.com
1212e6b6c2
Bug 421135. Fix typo in setting of mLastPrefFirstFont. r+sr=vlad
2008-03-05 17:47:33 -08:00
blassey@mozilla.com
92c51991b0
backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox
2008-03-05 14:56:43 -08:00
blassey@mozilla.com
9bc9e44b40
switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner
2008-03-05 13:39:29 -08:00
vladimir@pobox.com
3a604831df
b=421017; upgrade cairo to 1.5.12-14-gd89edde -- additional fixes ; r=me
2008-03-04 21:45:09 -08:00
vladimir@pobox.com
c12016b91e
b=421017; upgrade cairo to 1.5.12-11-g2f93504 ; r=me
2008-03-04 21:44:55 -08:00
jdaggett@mozilla.com
fe4a934348
Bug 420822. Missing 500 weight font should fallback to lighter weights. r+sr=stuart
2008-03-04 02:24:32 -08:00
roc+@cs.cmu.edu
4815c48c47
Backing out 403181 again
2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu
d8ef70bf14
Bug 403181. Track which subimage of an image we want to draw and copy it to a temporary surface if necessary to prevent sampling of pixels outside the subimage when zooming. Also, enable EXTEND_PAD or SetFilter(0) if the context has a transformation that's not a simple translation, since that might induce cairo to sample pixels outside the source (sub)image. r=vlad,sr=dbaron
2008-03-04 00:21:34 -08:00
roc+@cs.cmu.edu
b9eca15a36
Bug 419095 crashtest
2008-03-03 18:42:11 -08:00
roc+@cs.cmu.edu
d7fe999fe7
Crashtest for bug 416637
2008-03-03 18:37:35 -08:00
jdaggett@mozilla.com
b6cc0312c3
Bug 419757. Cache codepoints for which no font matches on windows. r+sr=stuart
2008-03-03 18:34:05 -08:00
roc+@cs.cmu.edu
caf967a145
Bug 416637. There might be some skipped characters before standalone combining marks at the start of a textrun. r=vlad
2008-03-03 18:30:20 -08:00
mozilla@weilbacher.org
37db1b4824
[OS/2] Bug 420438: Enable better image scaling on OS/2, r=wuno@lsvw, a1.9b4=beltzner
2008-03-03 01:26:08 -08:00
roc+@cs.cmu.edu
d5a6cd23c7
Bug 403181 backout
2008-03-02 18:38:19 -08:00
roc+@cs.cmu.edu
528b547d86
Bug 403181. Use a temporary surface to prevent sampling of pixels outside the intended source rectangle when zooming the image in some cases. r=vlad,sr=dbaron,a=beltzner
2008-03-02 17:01:14 -08:00
joshmoz@gmail.com
9d15dd6a9e
always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner
2008-02-29 15:24:53 -08:00
vladimir@pobox.com
4aa4bceacd
b=419383, extract native vista toolbar styles and expose to themes ; r+sr=roc; a=beltzner
2008-02-28 21:10:38 -08:00
reed@reedloden.com
7e8e2d9c45
Bug 419927 - "Re-enable smooth downscaling under Linux" [p=bill@wg9s.com (Bill Gianopoulos) r=vlad a1.9b4=beltzner]
2008-02-28 02:26:40 -08:00
roc+@cs.cmu.edu
705c2058b7
Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron
2008-02-27 01:46:22 -08:00
reed@reedloden.com
70e372f1fb
Bug 410114 - "Simplify nsTransform2D" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons]
2008-02-26 01:42:36 -08:00
jdaggett@mozilla.com
ea95d72bfc
Bug 419370. Allow single face font families, specified in a pref setting. r+sr=stuart
2008-02-26 00:00:44 -08:00
roc+@cs.cmu.edu
4db6cb1c6f
Bug 376375. Use Translate so we fill the right area with theme drawing after alpha recovery. r=vlad
2008-02-24 17:24:41 -08:00
vladimir@pobox.com
92c57aaac6
b=418494; use SOURCE instead of OVER when source has no transparency; r=stuart
2008-02-23 16:59:49 -08:00
vladimir@pobox.com
43b70c1702
b=381661, reenable bilinear image filtering [mq]: 381661-enable-bilinear.patch ; r=stuart
2008-02-23 14:30:57 -08:00
roc+@cs.cmu.edu
29613b66c2
Bug 418754. Fix Mac clustering... we shouldn't set a glyph using SetSimpleGlyph if it's not the start of a cluster. Also fixes an indexing error in ligature detection. r=jdaggett,a=beltzner
2008-02-21 17:12:41 -08:00
mozilla@weilbacher.org
ef664eb10c
Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner
2008-02-21 00:37:27 -08:00
jdaggett@mozilla.com
8d2e67363f
Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. Now with no-leak technology. r+sr=roc
2008-02-20 18:46:01 -08:00
jdaggett@mozilla.com
bfbdef4961
Bug 417444. Backing out due to leakage.
2008-02-20 16:35:26 -08:00
jdaggett@mozilla.com
797e6e922b
Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. r+sr=roc
2008-02-20 15:57:32 -08:00
reed@reedloden.com
89eddcaa54
Bug 395983 - "Duplicated Flash menus using r60(+) of Flash player" (do native drawing instead) [p=kinetik@flim.org (Matthew Gregan) r=vlad sr=roc a=blocking1.9+]
2008-02-20 03:33:27 -08:00
vladimir@pobox.com
b75557232a
b=418353, sync up cairo to 1.5.8-87-g21049a9 imported patch 418353-cairo-upgrade.patch
2008-02-19 14:52:57 -08:00
mozilla@weilbacher.org
056b00f919
Bug 415686: remove FONT_LEADING_APIS_V2 ifdefs which are no longer useful for cairo builds. Also remove related functions and tests. r/sr=dbaron, r=pavlov, a=beltzner
2008-02-19 11:41:56 -08:00
jag@tty.nl
2fbcb59ed7
Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep
2008-02-18 23:36:50 -08:00
jag@tty.nl
3093080fba
Bug 418026: Unconditionally include prio.h and prbit.h in gfxColor.h. sr=dbaron, a=schrep
2008-02-18 23:07:01 -08:00
jag@tty.nl
057bc17743
Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
2008-02-18 00:50:04 -08:00
karlt+@karlt.net
e3e3452e9e
back out gfxFontGroup::MakeTextRun with individual words. b=416725, due to performance regression on Windows.
2008-02-17 15:29:03 -08:00
karlt+@karlt.net
f8916a47a8
gfxFontGroup::MakeTextRun with individual words. b=416725, r=roc
2008-02-17 13:43:23 -08:00
roc+@cs.cmu.edu
7ab960de5c
Bug 374141. When printing on Windows, use an effective DPI of 144 instead of whatever the printer is. This makes native theme pixels be a reasonable size. r=stuart
2008-02-17 13:23:37 -08:00
mats.palmgren@bredband.net
e379c46906
Some broken fonts specify a negative subscript offset, use the absolute value for compat reasons. b=410917 r=vladimir sr=pavlov a=beltzner
2008-02-16 18:44:12 -08:00
masayuki@d-toybox.com
cb5c20d581
Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron
2008-02-16 07:31:27 -08:00
masayuki@d-toybox.com
cf482503c8
Bug 402524 Need to correct the Metrics for fonts in XP level r=pavlov, b1.9=vlad
2008-02-15 13:31:38 -08:00
reed@reedloden.com
2c86c6b910
Bug 406474 - "Native GTK look for toolbar arrows" [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=beltzner]
2008-02-14 21:28:44 -08:00
jdaggett@mozilla.com
85960af63d
Bug 416062. Test all faces for a given codepoint, not just the first one. r+sr=roc
2008-02-14 21:12:32 -08:00
pavlov@pavlov.net
cafb5b44d0
bug 407462. CJK perf issue due to Uniscribe. Fast path around it when we know we can. r=roc
2008-02-14 20:50:15 -08:00
vladimir@pobox.com
8f0d8b3d02
b=416018, upgrade cairo to 1.5.8-30-g80e11a8 ; r=me
2008-02-13 22:54:26 -08:00
vladimir@pobox.com
6f5a262267
b=416181, animated image used as repeated background broken ; r=stuart
2008-02-13 22:51:58 -08:00
reed@reedloden.com
48057599e5
Bug 415867 - "AIX Compilation error for trunk build source cairo-gstate.c : line 45.43: 1506-294 (S) Syntax error in expression on #if directive." [p=shailen.n.jain@gmail.com (Shailen) r+sr=roc a1.9=schrep]
2008-02-13 03:31:00 -08:00
karlt+@karlt.net
d99caac0e0
don't pango_font_get_metrics with a NULL language. b=414692 r=pavlov
2008-02-13 01:09:46 -08:00
masayuki@d-toybox.com
3aa6bddc90
Bug 333126 Bold/Italic text isn't displayed as bold/italic with cairo-gtk2 build if the font is synthesis font r=karlt, b1.9=mtschrep
2008-02-12 02:39:23 -08:00
jdaggett@mozilla.com
edb01cb657
Bug 416232. Add better error checking when reading in font name table. r+sr=roc
2008-02-12 01:31:36 -08:00
jdaggett@mozilla.com
94f07ba724
Bug 361986. Exclude complex script codepoints for fonts that lack AAT morphing data. r=vlad,smontagu, sr=pavlov
2008-02-11 23:23:44 -08:00
karlt+@karlt.net
45477e7a1d
Bug 413050 - call cairo_debug_reset_static_data in system cairo on shutdown r=pavlov
2008-02-11 22:47:40 -08:00
karlt+@karlt.net
279c4c2019
Bug 414649 - wrong ui font (serif vs sans). Remove FindGenericFontFromStyle. r=pavlov
2008-02-11 22:43:26 -08:00
jdaggett@mozilla.com
d47e718e08
Bug 396732. Cache codepoints with no fonts to avoid repeated system-wide font lookup. r+sr=vlad
2008-02-11 21:38:38 -08:00
jdaggett@mozilla.com
b94523359e
Bug 409342. Cache the last pref font looked up. r=vlad,pavlov, sr=pavlov
2008-02-11 20:57:57 -08:00
jruderman@hmc.edu
3583eb2d0c
Bug 408746 is marked as fixed, so let's re-enable this crashtest.
2008-02-10 04:46:27 -08:00
masayuki@d-toybox.com
4373f8a32e
Bug 415595 Use nsIPrefLocalizedString for intl.accept_languages in gfxWindowsFonts.cpp r=pavlov, b1.9=mtschrep
2008-02-09 10:47:15 -08:00
jruderman@hmc.edu
ea7868db1c
Move test out of a directory that is doomed for removal
2008-02-08 01:00:21 -08:00
karlt+@karlt.net
6d0319463a
use FC_PIXEL_SIZE instead of pango_font_describe_with_absolute_size b=414239 r+sr=roc
2008-02-07 14:17:50 -08:00
vladimir@pobox.com
ebe7dd1924
Add missing patch file (npotb)
2008-02-07 12:02:40 -08:00
vladimir@pobox.com
3019d2734e
b=371867, severe performance regression on FAA flight status page, r=stuart (relanding)
2008-02-07 11:44:09 -08:00
jag@tty.nl
eadd3f29f3
Bug 414971: Mingw build error: `PR_ROTATE_RIGHT32' was not declared in this scope. r=wtc, sr=pavlov, a=mtschrep When using macros from prbit.h, don't expect others to include it for you.
2008-02-07 00:15:50 -08:00
reed@reedloden.com
82e400b523
Bug 406376 - "Firefox generating PostScript Level 3 code, instead of Level 2 one (was: Printing graphics prints a solid black box)" (Use Level 2) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a=blocking1.9+]
2008-02-06 21:26:50 -08:00
mozilla.mano@sent.com
7981a1fada
Backing out bug 371867 again
2008-02-06 17:43:37 -08:00
mozilla.mano@sent.com
260b79c683
Relanding bug 406686
2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com
190b7cbf4f
Backing out bug 414802
2008-02-06 16:19:13 -08:00
vladimir@pobox.com
cbecdfac54
b=371867, optimize same-color images, r=stuart
2008-02-06 13:22:54 -08:00
vladimir@pobox.com
95e9d58680
b=414685, optimize mac image decoding and rendering ; r=stuart
2008-02-05 22:48:47 -08:00
mozilla@weilbacher.org
c22808e56f
[OS/2] Bug 394412: fix scaling issues and add support for pagination, so that printing now works in principle. (OS/2 only, NPOTB)
2008-02-04 01:31:05 -08:00
jruderman@hmc.edu
da8964262a
Add crashtest
2008-02-03 21:56:57 -08:00
jdaggett@mozilla.com
86a59bcce4
Bug 409342. Handle pref lang array correctly. r+sr=pavlov
2008-01-31 00:41:09 -08:00
jdaggett@mozilla.com
46731d8754
Bug 409342. Cache pref font lists per lang group during font matching. r+sr=pavlov
2008-01-30 16:23:36 -08:00
jag@tty.nl
7bbff4292c
Bug 413143: trunk is broken(sigbus) on SPARC since 20071221. r/sr=pavlov, a=beltzner Unaligned 32-bit memory reads cause a sigbus on SPARC. Turns out that fixing this also gets us a little performance boost on other platforms because we're now mostly doing aligned 32-bit reads.
2008-01-29 22:22:23 -08:00
mozilla@weilbacher.org
e48dd1a8be
[OS/2] Bug 394412: on the way to be able to print through cairo
2008-01-29 16:16:19 -08:00
jdaggett@mozilla.com
8086634599
Bug 411090. Bail reading cmap when table offset is beyond the end of the table. r+sr=pavlov
2008-01-29 14:12:11 -08:00
jdaggett@mozilla.com
9d023a57e2
Bug 400717. Explicitly set NSUnitalicFontMask and NSUnboldFontMask font traits to avoid 10.5 inconsistency. r+sr=vlad
2008-01-29 13:41:46 -08:00
vladimir@pobox.com
708bf474be
b=367618, initial win32 8bpp bits, r=stuart
2008-01-29 11:00:57 -08:00
vladimir@pobox.com
24f4d64937
b=513583, bandaid for X repeat bug, r=stuart
2008-01-29 10:45:08 -08:00
gavin@gavinsharp.com
26c458ae81
Bustage fix from bug 404310 by John Daggett <jdaggett@mozilla.com>, r=josh, sr=stuart, a=Mossop (avoid enum conflict with 10.5 SDK)
2008-01-29 09:25:37 -08:00
jdaggett@mozilla.com
800de79502
Bug 404310. Restructuring gfxQuartzFontCache for faster startup, better lookup speed. r=vlad, sr=pavlov
2008-01-28 22:00:55 -08:00
mozilla@weilbacher.org
bab13a3928
Bug 412923: Remove gfx/gfx-config.h.in, r=ted.mielczarek, a=beltzner
2008-01-28 14:05:47 -08:00
vladimir@pobox.com
d7f4f31ade
re-landing; b=412396, speed up mac image rendering while images are being loaded, r=stuart
2008-01-28 11:05:44 -08:00
roc+@cs.cmu.edu
e5384b1d5d
Bug 410728. gfxTextRunWordCache should not cache words that start with a combining mark (words whose first character clusters with a preceding space). r=vlad
2008-01-28 09:35:44 -08:00
roc+@cs.cmu.edu
cebf4554c4
Bug 410728. gfxWindowsFonts should not start a font-change run in the middle of a surrogate pair. r=pavlov
2008-01-28 09:30:18 -08:00
vladimir@pobox.com
1afbefd8e2
backing out 412396 in an attempt to fix linux orange
2008-01-27 19:04:40 -08:00
vladimir@pobox.com
b81f25fe5d
b=413989, bad lines drawn over background images while zoomed (osx), r=roc
2008-01-27 16:49:23 -08:00
vladimir@pobox.com
7bf8a75184
b=412396, jpeg decoding/painting slower on trunk vs. branch while loading; r=stuart
2008-01-27 15:53:24 -08:00
vladimir@pobox.com
b74a21da6f
b=414092, crash at _moz_pixman_image_fill_rectangles on x86-64, r=karlt
2008-01-27 14:52:18 -08:00
jwatt@jwatt.org
1aae5446b2
Fixing bug 272885. Disable rendering of some elements when their width or height is zero. r=tor@acm.org, sr=vladimir@pobox.com, a1.9=mtschrep@gmail.com
2008-01-27 12:39:27 -08:00
longsonr@gmail.com
25d677831d
Bug 377085 - line svg element getBBox() returns bad rect. r+sr=tor,a1.9=blocking1.9+
2008-01-27 06:55:53 -08:00
karlt+@karlt.net
817d4d3497
Restore gfxPangoFontCache because of Tp slip b=401988.
2008-01-27 02:27:08 -08:00
karlt+@karlt.net
a06e31d7bd
Remove gfxPangoFontCache as this doesn't include language in the key, and gfxFontCache should do this caching (with expiration). b=401988 r=pavlov.
2008-01-27 01:24:04 -08:00
karlt+@karlt.net
7c0813705d
Bug 401988 - gfxPangoFontGroup::CreateGlyphRunsItemizing must use gfxPangoFont corresponding to the PangoFont from pango_shape (wrong glyphs selected when falling back to fonts of different style). Provide fontconfig with information re requested font even when non-existant. Map FONT_WEIGHT_NORMAL to Regular not Medium weight fonts. r=pavlov, sr=roc.
2008-01-26 23:37:29 -08:00
roc+@cs.cmu.edu
1d2bbe2e33
Backing out 410728 to fix Windows orange
2008-01-26 16:44:24 -08:00
roc+@cs.cmu.edu
19ab494e6e
Bug 410728 crashtest
2008-01-26 14:59:19 -08:00