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
Ehsan Akhgari
4b12513f89
Bug 969866 - Use fallible allocations in some places in our font/text shaping code; r=jfkthame
...
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 13:10:07 -05:00
James Kitchener
719046a9e6
Bug 953385 - Set math script where applicable in /gfx. r=jfkthame
2014-01-30 10:59:16 -05: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
Ehsan Akhgari
3e096d9c3d
Bug 939585 - Build gfx/thebes in unified mode; r=BenWa
2013-11-27 08:03:04 -05:00
Phil Ringnalda
022d398c91
Back out d280a1c64f76 (bug 939585) for Mac build bustage
...
CLOSED TREE
2013-11-24 18:02:14 -08:00
Benoit Girard
49ae528201
Bug 939585 - Build gfx/thebes in unified mode. r=ehsan,bjacob
2013-11-21 14:22:45 -05: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
Jonathan Kew
ea76441a45
bug 910506 - update harfbuzz to upstream release 0.9.21 plus latest bugfixes (commit 3d2c4f0c2ff8fab4262988aad65b170e5b479b20). r=jdaggett
2013-09-28 09:51:46 +01:00
Jonathan Kew
bcb64cdef3
backout changesets 9a9382595fce and ff34f480df07 (bug 910506) on a CLOSED TREE for failure in reftest variation-selector-unsupported-1.html
2013-09-27 14:58:28 +01:00
Jonathan Kew
eb104562ce
bug 910506 - fix up gfxHarfBuzzShaper::GetGlyph for changed semantics of the hb_font_get_glyph callback. r=jdaggett
2013-09-27 13:22:26 +01: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
Jonathan Kew
fc774d33a2
bug 831277 - (a) make GetRoundOffsetsToPixels a method on gfxContext, instead of private to the harfbuzz shaper. r=jdaggett
2013-01-21 09:24:01 +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
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
Trevor Saunders
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04: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
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
Daniel Holbert
1574c75a77
Bug 780680: Remove never-read variable 'prevGlyphCharIndex' from gfxHarfBuzzShaper::SetGlyphsFromRun(). r=jfkthame
2012-08-06 13:34:38 -07: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
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
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01: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
John Daggett
bae4d92415
Bug 718539. Merge per-font and style rule font features. r=jkew
2012-04-26 15:26:03 +09:00
Jonathan Kew
14d5a8ace4
bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle
2012-04-21 22:24:39 +01:00
Jonathan Kew
3cd1485d61
bug 745261 - check calls to SetupCairoFont for failure. r=jdaggett
2012-04-17 09:50:26 +01: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
c7fa86d451
bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
...
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Jonathan Kew
43acd9229b
bug 728866 - pt 3 - add support for Hebrew presentation forms, excluded from canonical composition. r=smontagu
2012-02-20 20:39:59 +00:00
Jonathan Kew
45c8227a48
bug 728866 - pt 2 - implement canonical composition callbacks for harfbuzz. r=smontagu
2012-02-20 20:39:59 +00:00
Jonathan Kew
762e7ba46d
bug 695857 - update harfbuzz code and adapt gfx/thebes for revised harfbuzz API. r=jdaggett
...
harfbuzz library code from upstream harfbuzz-ng commit f51e167436a51b890ffe3f7f7920498fa287acd9;
replaced HB_SCRIPT_* with MOZ_SCRIPT_* codes in gfx;
adapted for changes to HB function signatures.
2012-02-14 08:03:01 +00:00
Karl Tomlinson
22fe2c5db5
b=716402 improve inter-glyph pixel rounding r=jfkthame
2012-01-20 09:19:10 +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
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
a53be3d180
bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett
2011-10-07 17:25:19 +01:00
Jonathan Kew
938d42b986
back out 32989cd5377b for total (non-DEBUG) bustage
2011-10-07 17:45:39 +01:00
Jonathan Kew
09c9c833cd
bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett
2011-10-07 17:25:19 +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
Jeff Muizelaar
1f4cd33169
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Rafael Ávila de Espíndola
82905ec5b2
Bug 678022: Fix build with clang and c++0x. In c++0x one cannot use -1 in a position in an initializer list that is unsigned. Use UINT_MAX instead. r=roc
2011-08-10 16:09:22 -04:00