Граф коммитов

74 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 82bdaf03b2 Bug 1395061 - patch 3 - Clean up vestigial code that existed to support setting the gfxFontEntry::mSymbolFont flag. r=jrmuizel 2017-09-11 19:23:30 +01:00
Jonathan Kew 8edf19e319 Bug 1320665 - Add support for 'cmap' subtable format 13. r=jrmuizel 2016-12-13 12:15:24 +00:00
Phil Ringnalda ce8fd410e7 Backed out 2 changesets (bug 1320665) for Windows failures in 1320665-cmap-format-13.html
Backed out changeset b2bac083c74e (bug 1320665)
Backed out changeset 59bdf1eb5d2d (bug 1320665)

MozReview-Commit-ID: 2M9tcerb3pm
2016-12-13 10:56:17 -08:00
Jonathan Kew aa1f85e3d9 Bug 1320665 - Add support for 'cmap' subtable format 13. r=jrmuizel 2016-12-13 16:16:57 +00:00
Jonathan Kew 17a2101b23 Bug 1228799 - Part 1 - Move GetTableFromFontData to gfxFontUtils as a static function, and expose FindTableDirEntry helper method. r=emk 2016-08-19 13:57:05 +01:00
Khaled Hosny d8d7f64870 Bug 1283932 - support COLR table layers with unset color, r=jfkthame 2016-07-06 10:10:17 +01:00
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Jonathan Kew 28a9e2cf14 Bug 1265452 - Remove use of nsAutoPtr from gfx/thebes. r=jrmuizel 2016-04-15 20:45:37 +01:00
Nathan Froyd 3d5a31b8f3 Bug 1216644 - part 2 - make gfxFontEntry::mUVSData a UniquePtr; r=jrmuizel
This patch could have been in the last patch, but it felt like modifying
ReadCMAPTableFormat14 to accept a UniquePtr<> made the code clearer.
This change was therefore separated into its own patch for easier
review.
2015-10-20 12:12:41 -04:00
Jonathan Kew a48628058f Bug 1216427 - part 1 - Ensure a character+VS sequence or a ligated Regional-Indicator flag symbol is deleted as a single unit when backspacing. r=emk 2015-10-26 10:47:16 +00:00
Nicholas Nethercote 87b80f8c66 Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.

--HG--
extra : rebase_source : 6a8c8d8ffb53ad51b5773afea77126cdd767f149
2015-07-28 23:24:24 -07:00
Eric Rahm 67b91ff53a Bug 1162748 - Remove instances of #ifdef PR_LOGGING in graphics. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-08 14:37:01 -07:00
Ehsan Akhgari 486776b743 Remove an extra assignment from gfxSparseBitSet::TestRange, no bug 2015-04-18 20:25:36 -04:00
Jonathan Kew 0d2cfaf334 Bug 1064737 pt 2 - Support for WOFF2 as a webfont format. r=jdaggett 2014-10-04 11:36:05 +01:00
Jonathan Kew b2c88c5dfe Bug 902762 pt 1 - Pass a 'vertical' flag to font shapers, and support vertical shaping through harfbuzz. r=jdaggett 2014-10-01 20:25:48 +01:00
Georg Fritzsche 83f0c5bfb7 Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00
Jonathan Kew f0d7e96094 bug 1060791 - support cmap subtable format 10, for the Apple Symbols font. r=jdaggett 2014-09-02 09:01:06 +01:00
Ehsan Akhgari 252de863a5 Bug 1048243 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-08-05 17:58:40 -04:00
John Daggett 8259cc74f5 Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
Makoto Kato d38288b73d Bug 889401 - Part 2. Render color glyph using COLR/CPAL. r=jfkthame 2014-05-26 19:07:24 +09:00
Masatoshi Kimura 5e7240163c Bug 989557 - Implement a fallback for CJK Compatibility Ideographs Standardized Variants. r=jfkthame
--HG--
rename : layout/reftests/fonts/gw432047-license.txt => layout/reftests/fonts/glyphwiki-license.txt
2014-04-01 02:30:26 +09:00
John Daggett 9df88fff38 Bug 962440 - move gfxFontInfoLoader into separate file. 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 43942d36f0 bug 833087 - stop background font info loading when quit-application notification is observed. r=BenWa 2013-11-05 00:53:47 +00: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
Benoit Jacob ef57b5655b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher de3dfc4a8e Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob 1b7e3c520e Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
John Daggett 844f041348 Bug 869764. Eliminate use of t2embed library in Windows GDI case. r=emk 2013-07-09 10:40:03 +09: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
Jonathan Kew a68a7de6da bug 866033 - eliminate redundant function gfxFontUtils::CharRangeBit() and its supporting data. r=jdaggett 2013-06-12 13:08:53 +01:00
Jeff Gilbert d04e5840f2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07: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
Makoto Kato 721aa48809 Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg 2013-04-24 16:40:33 +09:00
Jonathan Kew f752845e1e bug 833283 - remove the option to bypass OTS for downloaded fonts. r=jdaggett 2013-01-23 16:41:18 +00: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
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
Jacek Szpot 761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Ehsan Akhgari f603b68908 Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-28 14:56:27 -04: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
Edwin Flores 9b5bc40bde Bug 719286 - Extend gfxFontUtils::MapCharToGlyph to accept variation selectors r=roc 2012-09-06 16:57:01 +12: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
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
John Daggett ed5cb19215 Bug 710727. Share cmaps across all fonts. r=jkew, a=tracking-firefox 2012-04-19 08:59:43 +09: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