L. David Baron
e0a398ba03
Bug 978603: Make sure implicit copy constructors and assignment operators aren't invoked for gfxGlyphExtents (which would at least mess up leak statistics if not actually leak). r=jfkthame
...
Originally written while investigating bug 435138.
2014-03-03 00:54:39 -08:00
Robert O'Callahan
43edbab0e3
Bug 947588. Part 2: Add gfxTextRunFactory::TEXT_HIDE_CONTROL_CHARACTERS to guard usage of IsInvalidControlChar. r=jfkthame
...
--HG--
extra : rebase_source : 2ce426ebf3ad1643038954bcb18553dec27153c9
2014-02-05 23:08:58 +13:00
James Kitchener
719046a9e6
Bug 953385 - Set math script where applicable in /gfx. r=jfkthame
2014-01-30 10:59:16 -05:00
John Daggett
031132973a
Bug 962440 - async font info loader infrastructure with OSX implementation. r=bas
2014-01-29 16:39:01 +09:00
John Daggett
87ddb927c1
Bug 962440 - refactor methods used for loading fontinfo data. r=bas
2014-01-29 16:39:00 +09:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jonathan Kew
147ed55ba9
bug 950590 - part 2 - make SetUserFontSet support updating a gfxFontGroup's user font set on the fly, and use this in canvas rendering context. r=roc
2013-12-19 20:21:11 +00:00
Jonathan Kew
7d783a454c
bug 950590 - part 1 - use nsRefPtr instead of manual addref/release calls for gfxFontGroup's reference to the user font set. r=roc
2013-12-19 20:20:57 +00:00
Nicholas Nethercote
8bbe1e2dc1
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
b413e441cf
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Ehsan Akhgari
a253b73ee7
Bug 945509 - Include 2D.h in gfxFont.h because it uses ScaledFont; r=glandium
2013-12-02 18:53:14 -05:00
John Daggett
11931c9dfc
Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame
2013-11-25 13:59:56 +09:00
Jonathan Kew
86ed8740c1
bug 941638 - cache hyphen width in the gfxFontGroup, to improve layout performance for auto-hyphenated text. r=roc
2013-11-21 21:31:53 +00:00
Nicholas Nethercote
3eae0dfea5
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
70723692af
Bug 921923 (part 4) - Make multi-output sizeOfFoo() functions more consistent in gfx/thebes/. r=jkew.
...
--HG--
extra : rebase_source : 02ddce0e34ec6619fcaf92aa30addc77bdd8b80f
2013-10-14 19:19:47 -07:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ehsan Akhgari
fa0f489466
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Jonathan Kew
757c2d5ea1
bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc
2013-05-22 23:48:55 +08:00
Jonathan Kew
c9f388d0f2
bug 916048 - SVG-in-OpenType glyphs should use the font's unitsPerEm value. r=roc
2013-09-14 12:40:57 +01:00
Edwin Flores
43e0322c30
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Ryan VanderMeulen
f6f2b44c8f
Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures.
2013-09-13 11:15:54 -04:00
Robert O'Callahan
defc38fb5c
Bug 906643. Part 7: Hook up animation support for gfxSVGGlyphs. r=jfkthame
...
There's a few things mashed together in this patch:
-- Enable animations in glyph documents
-- Make gfxSVGGlyphsDocument monitor the document's refresh driver to detect
updates
-- Forward updates to the gfxFontEntry
2013-08-20 01:08:45 +12:00
Robert O'Callahan
1c69a44bd3
Bug 906643. Part 6: Add gfxFontEntry::NotifyGlyphsChanged, which calls new gfxFont::NotifyGlyphsChanged, which calls new gfxGlyphExtents::NotifyGlyphsChanged; these methods flush out existing glyph extents and notify all affected gfxUserFontGroups of the glyph changes. r=jfkthame
2013-08-20 01:08:45 +12:00
Robert O'Callahan
f163a5c915
Bug 906643. Part 5.2: Add gfxFont::GlyphChangeObserver. r=jfkthame
2013-09-02 16:30:10 +12:00
Robert O'Callahan
e75649fb2d
Bug 906643. Part 4: Make each gfxFontEntry track its gfxFonts with SVG glyphs. r=jfkthame
...
--HG--
extra : rebase_source : cd2cbdc8f6722e71f523c3fbe19e515a0e44f043
2013-08-20 01:08:44 +12:00
Edwin Flores
b10976f9b2
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Nicholas Nethercote
7983bb2a7f
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
John Daggett
007662fa1d
Bug 901845 - add a pref to specify the length limit of words in word caches. r=jfkthame
2013-09-11 10:36:57 +09:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
26ceee4fb5
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
1f32372424
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Jonathan Kew
65c0ec4c40
bug 910376 - don't risk leaving mSharedBlobData uninitialized. r=karlt
2013-09-04 10:01:57 +01:00
Justin Lebar
66f7416cab
Bug 909977 - Rename mozilla::Move to mozilla::OldMove, and make mozilla::Move a synonym for std::move(). r=waldo
...
--HG--
extra : rebase_source : 7b3bb02cc8cbc0ad6721c6c3895564d9567b8ddb
2013-08-29 11:54:14 -07:00
Birunthan Mohanathas
c742394e75
Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
2013-07-31 11:44:31 -04:00
John Daggett
8eb7f1edcc
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-30 05:00:41 +09:00
Jonathan Kew
394d375f91
bug 878674 - pt 1 - load Fennec bundled fonts directly from omnijar without copying them out to the filesystem. r=roc
2013-06-25 09:14:03 +01:00
Ed Morley
3b7e3a0a84
Backed out changeset 8284007baae4 (bug 878674) for Android startup java exceptions
2013-06-25 11:26:00 +01:00
Jonathan Kew
e13a42f40c
bug 878674 - pt 1 - load Fennec bundled fonts directly from omnijar without copying them out to the filesystem. r=roc
2013-06-25 09:14:03 +01:00
Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Jeff Gilbert
d04e5840f2
Bug 877382 - Remove THEBES_API decorator. - r=BenWa
2013-05-29 14:59:24 -07:00
Jonathan Kew
e18800113e
backout changesets d8f3694dd6df (bug 871961 pt 2) and b77d5e403c3d (bug 871961 pt 4) for making the browser crashy. r=me
2013-05-25 21:06:59 +08:00
Jonathan Kew
64135bae96
bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc
2013-05-22 23:48:55 +08:00
Jonathan Kew
a9a5996e88
bug 874053 - ReadCMAP() must not leave the font entry's mCharacterMap pointer NULL, even if cmap table can't be read. r=roc
2013-05-21 12:25:47 +08:00
Jonathan Kew
3eb1fdd857
bug 847344 - refactor gfxFont/gfxFontEntry and associated classes for more efficient use of HarfBuzz and Graphite shaper APIs. r=roc
2013-05-16 17:29:20 +01:00
John Daggett
0eae803e8f
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
7786ea6954
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
14610ff282
Bug 549861. Trim out kerning from gfxFontStyle. r=jkew
2013-05-13 18:45:38 +09:00
John Daggett
be11778d6b
Bug 549861. Implement gfx support for font-variant-alternates. r=jkew
2013-05-13 18:45:37 +09:00
John Daggett
d664a50735
Bug 549861. Implement rendering support for simple font-variant properties. r=jkew
2013-05-13 18:45:36 +09:00
Nathan Froyd
f0094326ea
Bug 863264 - delete pointless initialization of mBoundingBox in gfxFont::RunMetrics constructor; r=BenWa
2013-04-29 15:52:27 -04:00
John Daggett
04b7882c04
Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew
2013-04-11 22:49:58 +09:00
Jonathan Kew
a0a8034fb1
Bug 761442 - don't use per-word shaping with fonts that use <space> in opentype lookups. r=jdaggett
2013-01-08 14:38:48 +00:00
Joshua Cranmer
5765d5aec4
Bug 767563 - Add a clang static checker, part 3: Move the MOZ_MUST_OVERRIDE macro to MFBT. r=Waldo
2013-03-23 21:14:43 -05:00
Jonathan Kew
51d2de9a05
bug 840431 - cache an ellipsis textrun on gfxFontGroup, to minimize perf overhead due to text-overflow. r=roc
2013-03-08 10:41:31 +00:00
Jonathan Kew
aabb1feab3
bug 728436 - make synthetic bolding less severe at large sizes. r=jdaggett
2012-10-29 13:43:17 +00:00
Jonathan Kew
c8a9d651b2
bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted
2013-02-22 16:52:20 +00:00
Jonathan Kew
2b216fca37
bug 843588 - font table cache management should not rely on hashtable entry pointers remaining valid. r=karlt
2013-02-22 13:14:33 +00:00
John Daggett
74c397a0f6
Bug 833169 - add font family name to font entries and use in user font cache key. r=jkew
2013-02-18 11:22:55 +09:00
Cameron McCormack
9aa8bf1721
Bug 655877 - Part 46: Paint SVG glyphs with new SVG text frame. r=roc,jwatt
2013-02-11 17:22:20 +11:00
Daniel Holbert
2caf7e05de
Bug 832440: Fix inconsistency on appUnitsPerDevPixels's signedness in gfxFont and its clients by converting all instances to be signed. r=jfkthame
2013-01-28 11:01:59 -08:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Cameron McCormack
bc2d799592
Bug 828805 - Implement SVG paint-order property. r=bz,roc
2013-01-13 10:27:53 +11:00
Jonathan Kew
dc68a4ac60
bug 825875 - shape long words directly into the textrun instead of using word caching. r=roc
2013-01-04 18:35:37 +00:00
Jonathan Kew
32fd2a26de
bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc
2013-01-04 18:35:37 +00:00
Jonathan Kew
b366d014bc
bug 826288 - remove the obsolete aFamily parameter from gfxFontEntry constructor. r=roc
2013-01-04 14:01:44 +00:00
Jonathan Kew
a03d1dc724
bug 821442 - eliminate the unreliable mFamily back-pointer in gfxFontEntry, and instead pass/track font family explicitly where needed. r=roc
2012-12-19 09:42:25 +00:00
Jonathan Kew
5ed0d42bd7
bug 820707 - consistently set familyHasItalic flag on GDI font entries, to avoid referring back to the family during font instantiation. r=roc
2012-12-12 14:09:50 +00:00
Brendan Dahl
e3eb98c915
Bug 791466 - Fix direct write cairo scaled font. r=Bas
2012-11-12 11:35:49 -08:00
Mats Palmgren
4c765506a6
Bug 798853, gfx. r=roc
2012-10-22 15:53:31 +02:00
Ms2ger
fc5a75281c
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Masayuki Nakano
4fe6aca97c
Bug 791953 Fix lossy conversion warning in gfxFont.h r=jfkthame
2012-10-01 19:32:31 +09:00
Ehsan Akhgari
f603b68908
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-28 14:56:27 -04:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Phil Ringnalda
1b76ccfe19
Back out 519f41fa596f (bug 793408) for Windows build bustage on a CLOSED TREE
2012-09-27 14:38:23 -07:00
Ehsan Akhgari
f1fd529b1c
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-22 11:34:22 -04:00
Ehsan Akhgari
4192c26db6
Backout changeset 24f4f77fba76 (bug 793408) because of broken builds on a CLOSED TREE
2012-09-27 10:24:08 -04:00
Ehsan Akhgari
aa7494f465
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-22 11:34:22 -04:00
Bas Schouten
a1cb82c019
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00:00
Makoto Kato
6025716d17
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04:00
Edwin Flores
00ae723fe4
Bug 719286 - Include SVG glyphs when calculating glyph extents r=jfkthame
2012-09-06 16:58:46 +12:00
Edwin Flores
3b0fe9adec
Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc
2012-09-06 16:58:46 +12:00
Edwin Flores
ca569f62dc
Bug 719286 - Basic OpenType SVG functionality r=roc
2012-09-06 16:57:54 +12:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Cameron McCormack
a273d9a029
Bug 655877 - Part 25: Give gfxTextRuns the ability to invoke a callback after painting glyphs and partial ligatures. r=roc
2012-08-08 21:37:12 +10:00
Jonathan Kew
35700912b8
bug 780409 - updates to thebes harfbuzz integration for hb api changes. r=jdaggett
2012-08-06 11:42:20 +01:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Anthony Jones
addbceb368
Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl
2012-07-24 22:18:39 +12:00
Nicholas Cameron
e5b55a65ac
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Anthony Jones
0de5f9da76
Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl
2012-07-24 22:18:39 +12:00
Jonathan Kew
fb06cb14f2
bug 769475 - incorrect font used for italicized Arabic text when font-family is Arial or Times New Roman. r=smontagu
2012-07-23 03:48:26 -04:00
Ed Morley
c6ba1ec99f
Backout 07cd3d70434c & 9be67e1a7b4f (bug 769475) for failures in arial-arabic.html
2012-07-23 11:01:59 +01:00
Jonathan Kew
a363194212
bug 769475 - incorrect font used for italicized Arabic text when font-family is Arial or Times New Roman. r=smontagu
2012-07-23 03:48:26 -04:00
Rafael Ávila de Espíndola
61a4f26d9c
Bug 774016 - Remove extra ;. r=khuey.
2012-07-16 11:01:45 -04:00
Jonathan Kew
847da3363a
bug 754452 - use GDI synthetic italic rather than cairo font matrix when it's safe to do so, for better glyph spacing. r=jdaggett
2012-07-03 11:42:07 +01:00
Jonathan Kew
b36614de01
bug 764005 - optimize gfxFontGroup::FindFontForChar for the most common case, and lift array Length() accesses out of other loops in font code. r=smontagu
2012-06-20 20:58:18 +01:00
Ehsan Akhgari
f70d1188f6
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (gfx parts); r=joedrew
2012-06-13 00:14:28 -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
Nicholas Cameron
0fdb7cc441
Bug 752380. Refactor gfxFont out of Azure. r=Bas
2012-05-17 10:30:10 +12:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +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
44ebb6fb98
Bug 718539. Move gfxFontFeature to a separate header. r=jkew
2012-04-26 15:22:24 +09:00
John Daggett
ed5cb19215
Bug 710727. Share cmaps across all fonts. r=jkew, a=tracking-firefox
2012-04-19 08:59:43 +09:00
Jonathan Kew
4bf22a422f
bug 745555 - preserve character-identity flags in the CompressedGlyph record when updating glyph information. r=roc
2012-04-16 13:54:50 +01:00
Bas Schouten
cf4dd68f30
Bug 743593: Properly cast gfxFont based on type. r=jfkthame
2012-04-11 16:55:31 +02:00
John Daggett
61265580b9
Bug 710727. Revert shared cmap patch due to reftest/mochitest-4 failures on Win7. a=bustage
2012-04-09 22:03:28 +09:00
John Daggett
1e5af79b2e
Bug 710727. Share cmaps across all fonts. r=jkew
2012-04-09 13:31:55 +09:00
Nicholas Nethercote
6ca9f23930
Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
...
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Jonathan Kew
402c1e42cf
bug 688125 - part 1 - add memory reporting for the platform font list. r=njn
2012-03-27 14:38:39 -07:00
Jonathan Kew
4358625535
bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn
2012-03-23 12:14:16 +00:00
Nicholas Nethercote
7ac3a573ad
Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me.
2012-03-21 21:46:27 -07:00
Nicholas Nethercote
e2181e8fb2
Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt.
2012-03-15 19:40:00 -07:00
Bas Schouten
0e7b846268
Bug 736134 - Part 3: Use GlyphRenderingOptions API when drawing Azure fonts. r=jrmuizel
2012-03-19 19:20:18 +00:00
Jonathan Kew
04aa7ad2df
bug 721719 - ignore the GSUB table in Roboto on Android because of bad ligature rule. r=jdaggett
2012-03-17 09:38:42 +00:00
Jonathan Kew
f28a975637
bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett
2012-03-15 09:04:46 +00:00
Jonathan Kew
58ed975449
bug 735419 - eliminate unused parameter in the gfxTextRun constructor. r=jdaggett
2012-03-15 09:03:51 +00:00
Jonathan Kew
0c0e3015b0
bug 735439 - optimize order of fields in gfxFontStyle to save space. r=jdaggett
2012-03-15 09:03:00 +00:00
Justin Lebar
1fc1dc1879
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
...
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
John Daggett
da54d7e9aa
Bug 705594. Fixup of intra-family fallback code. r=jfkthame
2012-03-09 11:05:33 +09:00
John Daggett
1f4d27bf4c
Bug 705594. Implement hard-coded font fallback. r=roc
2012-03-09 11:05:24 +09:00
Jonathan Kew
911e9c3811
bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett
2011-08-09 09:06:01 +01:00
Edwin Flores
d271c53b53
Bug 719288 - Fill and stroke SVG text with one Draw call r=roc
2012-02-04 13:11:09 +00:00
Jonathan Kew
618f2581c7
bug 721315 - clear the faces' mFamily pointers when a font family is deleted. r=jdaggett
2012-02-02 11:24:22 +00:00
Jonathan Kew
6878bcf36d
backout changeset bcd556d83109 (bug 721315) for reftest orange.
2012-01-28 09:37:15 +00:00
Jonathan Kew
ff28e61222
bug 721315 - avoid potential dangling mFamily pointers in font entries. r=jdaggett
2012-01-28 08:27:01 +00:00
Nicholas Nethercote
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
4701befff3
Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc
2012-01-26 13:11:18 +01:00
Jeff Muizelaar
3036b1473f
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Matt Brubeck
4b1bdf5b96
Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error
2012-01-17 10:08:38 -08:00
Jeff Muizelaar
0ac4c9201a
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
...
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Ms2ger
7535aaa04a
Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor
2012-01-17 10:48:19 +01:00
Jeff Muizelaar
ad79c1ab36
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Jonathan Kew
f88b364df0
bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc
2012-01-13 11:37:46 +00:00
Ed Morley
713de1e92a
Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes
2012-01-12 13:30:39 +00:00
Jonathan Kew
d39edfcd94
bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc
2012-01-12 12:44:05 +00:00
Joe Drew
8b86d40164
Bug 715513 - Implement text in the new 2D API's Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : 75350d02ec31e60c356b1d9f05bf14b2b2dee9f4
2012-01-10 13:26:59 -05:00
Jonathan Kew
dbd498b32b
bug 703100 - pt 5 - optimize allocation of gfxTextRun objects to avoid separate allocation for CompressedGlyph records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
744f378de6
bug 703100 - pt 4 - add timed expiration of cached gfxShapedWord records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
3ef19fe4f9
bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
51e1294859
bug 703100 - pt 2.5 - adapt Android/FT2 font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
148f06b7d4
bug 703100 - pt 2.3 - adapt Windows font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
8b3e906164
bug 703100 - pt 2.1 - implement gfxShapedWord caching for gfxFont instances. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
fae89f9ba9
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Nicholas Nethercote
0089711fa7
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Matt Brubeck
f51deee1fa
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Edwin Flores
6697ae002d
Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc
2011-12-18 21:53:03 +13:00
Bas Schouten
c2d1a88783
Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett
2011-12-15 17:12:40 +01:00
Justin Lebar
d6b67e278e
Bug 708963 - Remove tautological comparison (unsigned int >= 0) in gfxFont.h. r=jmuizelaar
...
--HG--
extra : rebase_source : 1562649cfe16bbfeeacad6b53ba53f50c58fa2b0
2011-12-15 09:49:42 -05:00
Jonathan Kew
cda15d7f51
bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett
2011-12-09 22:32:29 +00:00
Nicholas Nethercote
6c6258e659
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jonathan Kew
b679a433d9
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Jonathan Kew
69b20f215f
bug 674909 - make synthetic bolding proportionate to font size and zoom. r=jdaggett
2011-09-02 21:18:25 +01:00
Jonathan Kew
a5c95a1ff0
bug 678181 - back out second part of bug 668813 (changeset 431a8297db1f) on suspicion of causing crashiness. r=backout
2011-08-13 13:34:56 +01:00
Jonathan Kew
1f1cc55e6c
bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett
2011-08-09 09:06:01 +01:00
Jonathan Kew
9911ba235d
bug 668758 - don't look up prefs font families in the user font set. r=jdaggett
2011-07-13 09:40:32 +01:00
Jonathan Kew
7945b12f01
Backed out changeset 51b49a7cf2e4 (bug 668758) because of android bustage
2011-07-13 10:50:37 +01:00
Jonathan Kew
2ef267be9d
bug 668758 - don't look up prefs font families in the user font set. r=jdaggett
2011-07-13 09:40:32 +01:00
Ed Morley
3f49fdcb2a
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Jonathan Kew
a3761c531a
bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc
2011-06-16 07:31:37 +01:00
Jonathan Kew
182daf38b3
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
2011-06-16 07:31:37 +01:00
Ehsan Akhgari
f92823ac1a
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04:00
Jonathan Kew
34ebc89623
bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc
...
--HG--
extra : rebase_source : d548ab2be329058bde101b142607abf14dce7191
2011-06-15 20:17:54 +01:00
Jonathan Kew
4d2e90c28b
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
...
--HG--
extra : rebase_source : 89e65a1d612dcee7872a18a5e4bb9b3591c3a63d
2011-06-15 20:17:51 +01:00
John Daggett
6a19da366e
Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew
2011-05-20 15:09:30 +09:00
John Daggett
4e65ac9cf3
Backout 2e0e36b0feae due to odd Linux bustage
2011-05-20 16:13:01 +09:00
John Daggett
de4233ccc7
Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew
2011-05-20 15:09:30 +09:00
Jonathan Kew
650a6ba4cf
bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc
2011-05-04 12:29:56 +01:00
Jonathan Kew
798129b691
bug 33032 - synthesize various Unicode space characters rather than showing missing glyphs. r=jdaggett
2011-05-02 10:01:55 +01:00
Jonathan Kew
81d6a97ce8
bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett
2011-04-28 09:01:59 +01:00
Jonathan Kew
2fbe4d0281
Backed out changeset 52b6489a3140 (bug 653100) because of reftest oranges.
2011-04-28 10:52:04 +01:00
Jonathan Kew
5954624b8d
bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett
2011-04-28 09:01:59 +01:00
Jonathan Kew
7e865519aa
bug 608940 - remove unused function gfxTextRun::Clone. r=jdaggett
2011-04-28 06:06:53 +01:00
Jonathan Kew
79769e2133
bug 589682 - ignore GDEF table in italic faces of times new roman, to work around font bug. r=jdaggett
2011-04-19 09:01:21 +01:00
Zack Weinberg
97e0f97e09
Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
...
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Jonathan Kew
ffc044d7a3
bug 635640 - force font metrics of Arial Black to match the main Arial family; r=Bas
2011-03-23 23:01:14 -04:00
Ehsan Akhgari
f2fe50481f
Merge mozilla-central into cedar
2011-03-23 18:29:19 -04:00
L. David Baron
008e6b6207
Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett
2011-03-03 13:18:42 -08:00
Jonathan Kew
6fa04b2f09
bug 633453 - correctly check the last array element before deciding whether to append or insert. r=roc a=blocking
2011-02-11 22:07:39 +00:00
Jonathan Kew
d0050708c8
bug 633322 - ensure GetDetailedGlyphs() is not called when glyph count is zero. r=roc a=blocking
2011-02-11 22:05:09 +00:00
Jonathan Kew
448ebf5098
bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner
2011-01-05 21:48:48 +00:00
Jonathan Kew
c369d26aa6
bug 631035 part 1 - optimize storage of DetailedGlyph records. r=roc a=blocking2.0
2011-02-10 06:50:47 +00:00
Jonathan Kew
e24b3f912f
bug 624359 - iterate by clusters for mozTextAlongPath; r=vlad
2011-03-22 10:59:25 -04:00
John Daggett
2f2819271d
Bug 551313. Workaround synthetic Gill Sans family when DirectWrite is used. r=jkew, a=joedrew
2011-01-27 12:05:55 +09:00
John Daggett
e872fa383e
Bug 602792. Lazy initialize mUseFontGlyphWidths to avoid unnecessary font io. r=jkew, a=blocker
2011-01-22 01:44:33 +09:00
John Daggett
e683c77781
Bug 602792. Clean up font logs and add system fallback logging. r=bas, a=blocker
2011-01-22 01:44:33 +09:00
John Daggett
870cda46bb
Bug 602792. Use GDI for font table loading to avoid excessive dwrite I/O. r=bas, a=blocker
2011-01-22 01:44:32 +09:00
Jonathan Kew
b1172f2565
bug 624310 - get glyph widths via directwrite rather than font tables when using simulated bold. r=bas a=joe
2011-01-21 10:35:21 +00:00
Jonathan Kew
8129240876
bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc
2011-01-11 11:17:00 +00:00
Jonathan Kew
bd9aea4565
bug 617905 pt 1 - refactor gfxFont::InitTextRun so that all platforms benefit from splitting huge text runs. r=karlt a=joe
2011-01-07 12:38:28 +00:00
John Daggett
0471ac96b4
Bug 602792. Rework code for doing localized font family name lookups. r=jkew, a=blocker
2011-01-07 21:29:49 +09:00
Jonas Sicking
182872882a
Bug 610823: Change a few users that use nsTArrays as buffers to explicitly use fallible tarray. r=jdaggett a=blocker
2011-01-06 20:45:10 -08:00
Jonathan Kew
8623f5ad22
bug 618870 - CompressedGlyph::SetMissing should not overwrite the clusterStart bit. r=karlt a=roc
2010-12-22 14:27:43 +00:00
Adam
86952502fb
bug 612488 - make featureSettings fields use direct nsTArray rather than pointers. r=jfkthame a=joe
2010-12-09 11:52:03 +00:00
Karl Tomlinson
4b2f371aea
b=569770 part 7: allow the font to provide its own GetGlyph function r=jfkthame
...
--HG--
extra : rebase_source : 7468110c4def7c0f0ab04503052ae5de75ecb237
2010-12-09 20:28:51 +13:00
Karl Tomlinson
0c7b2ac318
b=569770 part 5: gfxFT2FontBase::GetHintedGlyphWidth implementation r=jfkthame
...
--HG--
extra : rebase_source : 9770d596e7edf369f08f85a0598d470e07f7bbae
2010-12-09 20:28:51 +13:00
Karl Tomlinson
7ed492d291
b=569770 part 3: provide public access to gfxFontEntry font table cache r=jfkthame
...
--HG--
extra : rebase_source : ea989eec6d22c0201a58cbe0bb045470e14907f0
2010-12-09 20:28:47 +13:00
Karl Tomlinson
b2ddc04354
bug 615121 - fix operator precedence error in glyph yoffset. r=jfkthame a=blocking-betaN
2010-11-30 15:44:35 +00:00