Commit Graph

2654 Commits

Author SHA1 Message Date
Kan-Ru Chen
52fc902deb Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Jonathan Kew
49eae009af bug 758257 - work around broken fonts on android when using cached font list as well as when first reading the list. r=jdaggett 2012-05-25 15:03:42 +01:00
Landry Breuil
879803dcda Bug 752380 - Directly using enums from a namespace (a:🅱️:enum::value) is a c++11 feature, add 'using namespace a::b;' to workaround it. r=Bas 2012-05-24 18:45:10 -04:00
Masatoshi Kimura
9cee24d959 Bug 710693 - Move internal encoding check into nsCharsetAlias. r=smontagu 2012-05-24 18:45:10 -04:00
Bas Schouten
5934a62347 Bug 758120: Block attempts to do manual subpixel-AA on bitmap fonts. r=jfkthame 2012-05-24 17:43:55 +02:00
Jonathan Kew
e0db93c657 bug 757871 - don't generate warnings from FT2FontEntry::GetFontTable during normal control flow. r=jdaggett 2012-05-24 09:16:01 +01:00
Jonathan Kew
17d841d068 bug 737315 - use the proxy's name for the FT2 entry when instantiating a downloaded font. r=jdaggett 2012-05-24 09:15:54 +01:00
Marco Castelluccio
6dcdc8b048 Bug 754329 - Crash with cairo mutexes enabled. r=joe
--HG--
extra : rebase_source : d2ae2005ebe4b525f44bdf9951f4279af7b34f5e
2012-05-11 23:21:41 +02:00
Jonathan Kew
1e3898e57c Bug 755730 - don't mask out Indic codepoints in OpenType fonts supported by OS X 10.7. r=jdaggett 2012-05-23 14:15:43 +01:00
Nicholas Cameron
0fdb7cc441 Bug 752380. Refactor gfxFont out of Azure. r=Bas 2012-05-17 10:30:10 +12:00
Jonathan Kew
e76a617c73 bug 754243 - explicitly select Unicode charmap for Freetype face. r=jdaggett 2012-05-21 22:09:54 +01:00
Robert O'Callahan
4f3c49e191 Befixing Bas build bustage, bug 757329 2012-05-22 18:00:23 +12:00
Bas Schouten
3598ccf8df Bug 757329: Support changing transforms while emitting path instructions. r=roc 2012-05-22 07:29:19 +02:00
Bas Schouten
8302213ec9 Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel 2012-05-21 17:27:32 +02:00
Jonathan Kew
19d81907c6 bug 756850 - HBGetGlyph callback for harfbuzz needs to return whether the glyph existed. r=smontagu 2012-05-21 21:05:36 +01:00
Ed Morley
465e967ce9 Backout a693c64dc64e (bug 715768), c520957cc03f & 713ed280a80d (bug 756767), 20cb25a8b8ba (bug 756454), f3b5ad2320cb (bug 756424) for crashes 2012-05-21 18:56:46 +01:00
Bas Schouten
6e6a125cda Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel 2012-05-21 17:27:32 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Kew
e38d57ad83 bug 752459 - respect clusters when doing word-wrap:break-word. r=smontagu 2012-05-18 16:51:39 +01:00
Jonathan Kew
a0b1efadaa bug 752455 - don't allow word break within cluster when copying glyph data for text-transform. r=smontagu 2012-05-18 16:51:39 +01:00
Vladimir Vukicevic
1f3f8f2832 b=749426; don't use CreateSamplingRestrictedDrawable on mobile to avoid OOM; r=jrmuizel 2012-05-16 10:03:08 -04:00
Benoit Jacob
f5e1330f5c Bug 754426 - get screen depth from the main thread, expose it to other threads via gfxAndroidPlatform - r=joe 2012-05-15 15:41:20 -04:00
Benoit Jacob
6de3cc03da Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Bas Schouten
3eed0050e2 Bug 717393 - Part 5: Permit subpixel AA for transparent surfaces. r=roc 2012-05-15 16:57:51 +02:00
Ed Morley
0f956d7307 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
0f7357a542 Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Bas Schouten
a6473beab0 Bug 753835: Clip to mask image rather than relying on EXTEND_NONE. r=roc 2012-05-12 19:01:20 +02:00
Benoit Jacob
cb6c0c6172 Bug 749678 - 1/5 - Switch GLContext to use mozilla::tls for current context - r=jrmuizel
See comment above class GLContextTLSStorage
2012-05-08 09:47:34 -04:00
Jonathan Kew
8198aaa2dd harfbuzz shaper should not modify character-clustering info due to diacritic within ligature. Bug 249159, r=smontagu 2012-05-07 12:18:24 -07:00
Jeff Muizelaar
15a0969a86 Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.

It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.
2012-05-01 16:35:04 -04:00
Ed Morley
f73cfb4319 Backout 4c6759dcecd3 (bug 750598) for Android reftest-1 failures in background-size-zoom-repeat.html 2012-05-04 09:57:59 +01:00
Jeff Muizelaar
6c8c52a043 Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.

It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.

--HG--
extra : rebase_source : 4e3396179193d6d7ca1dbe26b7dad090860abe0d
2012-05-01 16:35:04 -04:00
Bas Schouten
bc2f084e3e Bug 738413 - Followup: Move ToIntRect to a Rect class method. r=roc 2012-05-03 23:41:37 +02:00
Bas Schouten
5cc7c5218c Bug 738413 - Part 3: Fix numerous issues with PushGroupAndCopyBackground. r=roc 2012-05-03 23:31:02 +02:00
Bas Schouten
b058c7e333 Bug 738413 - Part 2: Use OpaqueRect API in BasicLayers with non-cairo contexts. r=roc 2012-05-03 23:31:02 +02:00
Nicolas Silva
448bfb52b5 Bug 743830 - Added 'gfx.xrender.enabled' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jmuizelaar
--HG--
extra : rebase_source : 805947a2164aeb2dc71cc33086ac0bd201df3583
2012-04-18 10:27:32 -04:00
Andreas Gal
154b79964a Render active layers at full resolution and transform them on the GPU (bug 750006, r=roc). 2012-04-29 14:41:13 -07:00
John Daggett
d7547c60eb Bug 749139. Set build-on-fly flag on non-SFNT font type. r=jkew 2012-04-27 17:26:41 +09:00
Jonathan Kew
248ae5fed9 bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett 2012-04-26 18:50:41 +01:00
Jonathan Kew
9fa44a2247 bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett 2012-04-26 18:48:05 +01:00
Jonathan Kew
d7aee42d5b bug 706888 - ignore GSUB in broken version of Droid Sans Arabic. r=jdaggett 2012-04-26 20:06:52 +01:00
Ed Morley
55e83a7ae7 Backout 476998cbd69f & f8654d020b1a (bug 739858) for compilation failures 2012-04-26 19:09:20 +01:00
Jonathan Kew
a39295d6c1 bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett 2012-04-26 18:50:41 +01:00
Jonathan Kew
822c0d1ccc bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett 2012-04-26 18:48:05 +01:00
John Daggett
15b7adf246 Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
bae4d92415 Bug 718539. Merge per-font and style rule font features. r=jkew 2012-04-26 15:26:03 +09:00
John Daggett
4984947d00 Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron 2012-04-26 15:24:26 +09:00
John Daggett
44ebb6fb98 Bug 718539. Move gfxFontFeature to a separate header. r=jkew 2012-04-26 15:22:24 +09:00
Simon Montagu
9235b950bd bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame 2012-04-18 21:54:54 -07:00