Nicholas Nethercote
73046bbae3
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
Robert O'Callahan
8ca63f18ef
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
Birunthan Mohanathas
186d1e17e2
Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
2013-07-31 11:44:31 -04:00
Catalin Iacob
088b9fe162
Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn.
2013-06-30 18:26:39 +02:00
Catalin Iacob
83b78343dc
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
1ecd77525b
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
803532ef87
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
941b182708
bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted
2013-02-22 16:52:20 +00:00
Mats Palmgren
d5826be6d7
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
813a2e26db
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
Brendan Dahl
49dd7a2abe
Bug 791466 - Fix direct write cairo scaled font. r=Bas
2012-11-12 11:35:49 -08:00
Bas Schouten
0180262fe6
Bug 758531: DWrite fonts create mScaledFont on demand. This causes GetCairoScaledFont to return NULL. This subsequently caused the surface to go into an error status which caused the CreateSimilar call to fail for that surface. This patch properly uses the call which will create the cairo_scaled_font_t if it's not there yet. r=jrmuizel
2012-10-23 02:26:27 +02:00
Bas Schouten
8ed5af984b
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00:00
Ehsan Akhgari
8c296bbcd4
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
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jonathan Kew
47286126f0
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
61bf3dafe8
bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn
2012-03-23 12:14:16 +00:00
Bas Schouten
1da1222e7e
Bug 736134 - Part 3: Use GlyphRenderingOptions API when drawing Azure fonts. r=jrmuizel
2012-03-19 19:20:18 +00:00
Jonathan Kew
789760b675
bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett
2012-03-15 09:04:46 +00:00
Masatoshi Kimura
8cea90b046
Bug 699247 - Remove Win2K related code. r=jimm, sr=neil
2012-02-23 08:53:55 -06:00
Jonathan Kew
6f8dbeb979
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
Ed Morley
ada565efab
Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression
2012-02-08 21:04:21 +00:00
Masatoshi Kimura
09012b6e7c
Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil
2012-02-08 10:00:45 -06:00
Bas Schouten
1491f130ef
Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett
2011-12-15 17:12:40 +01:00
Jonathan Kew
db8015990f
bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett
2011-12-09 22:32:29 +00:00
Ehsan Akhgari
2a602a5685
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
Michael Wu
d8e503c38b
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
21a371ca1a
bug 666893 - add padding pixels to DWrite text bounds because of ClearType bleed when using GDI Classic mode. r=roc
2011-07-01 07:38:17 +01:00
Jonathan Kew
4ce8038dca
Bug 661471. Part 7: Only force GDI_CLASSIC rendering for specified fonts if a rendering mode has not been explicitly chosen in prefs. r=roc
2011-06-09 08:17:20 +01:00
Robert O'Callahan
72424d8066
Bug 661471. Part 2: Add a pref to limit the forcing of 'GDI Classic' to a maximum font size. r=jdaggett,jfkthame
2011-06-03 16:31:08 +12:00
Robert O'Callahan
0e9af9395b
Bug 661471. Part 1: Create preference to force particular font families to use 'GDI Classic' rendering with DirectWrite. r=jdaggett,jfkthame
2011-06-03 16:31:07 +12:00
Jonathan Kew
8e92dd97a6
bug 642589 - expose prefs for tweaking DirectWrite/D2D antialiasing behavior. r=jdaggett
2011-04-21 07:29:50 +01:00
Zack Weinberg
1a54f9512d
Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
...
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Jonathan Kew
559ac56c3a
bug 635640 - force font metrics of Arial Black to match the main Arial family; r=Bas
2011-03-23 23:01:14 -04:00
Jonathan Kew
a66e635a6c
bug 633342 - allow subpixel AA but not the manual show_glyphs path when Asian font has embedded bitmaps. r=bas a=joe
2011-02-15 20:55:01 +00:00
Jonathan Kew
201f78023c
bug 633342 - get rid of windows newlines in thebes files. r=bas a=joe
2011-02-15 20:55:01 +00:00
John Daggett
8851b92260
Bug 628152. Fix crash in BuildFontList and revert lazy metrics initialization in gfxDWriteFont. r=jkew, a=blocker
2011-01-28 09:40:06 +09:00
Jonathan Kew
2ef0fda852
bug 627840 - (DirectWrite) only check for bitmaps in CJK fonts. r=masayuki a=joe
2011-01-25 09:17:18 +00:00
Jonathan Kew
9777ea3fdd
bug 626299 patch 2 - don't use subpixel-AA mode with DWrite fonts when bitmaps are present. r=jdaggett a=blocking
2011-01-21 19:26:30 +00:00
John Daggett
027d784cc5
Bug 602792. Lazy initialize mUseFontGlyphWidths to avoid unnecessary font io. r=jkew, a=blocker
2011-01-22 01:44:33 +09:00
John Daggett
a1b47791ac
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
f168213574
bug 574907 - don't let DWrite use fractional font sizes and subpixel positioning when embedded bitmaps are present. r=masayuki a=joe
2011-01-21 10:36:28 +00:00
Jonathan Kew
97b96b98fb
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
e45ab700c4
bug 623974 - use GDI aliased spacing in DW when ClearType is off. r=bas a=joe
2011-01-12 10:34:11 +00:00
Jonathan Kew
e1c1f355e9
bug 594889 - improve glyph spacing with DirectWrite fonts when ClearType is disabled by using GDI-compatible instead of 'ideal' metrics. r=bas a=blocking2.0
2011-01-04 16:58:31 +00:00
Karl Tomlinson
374455a6ee
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
L. David Baron
ed2ce3bf01
Make 'bolder' and 'lighter' values of 'font-weight' be computed in the style system, per recent edits to CSS 2.1. (Bug 93725) r=jdaggett a2.0=joedrew
2010-11-10 07:49:52 -08:00
Masayuki Nakano
1e86a8bd94
Bug 548964 [DW] bottom of spellchecker underline isn't painted in <input> element with some fonts r=jfkthame, a=joe
2010-11-08 15:39:10 +09:00
Masayuki Nakano
250a76676b
Bug 548964 backing out due to reftest failure only on Win Opt (433700) a=orange
2010-11-06 22:18:31 +09:00