gfx/thebes/gfxHarfBuzzShaper.cpp
559b5362421fec627130969016aaa96dfcc86f78
created 2021-09-24 19:14 +0000
pushed 2021-09-25 21:37 +0000
Chris Peterson Chris Peterson - Bug 1732481 - Fix non-unified build errors in gfx. r=gfx-reviewers,jrmuizel
984ec26e421703e23e90869fd331bc4aabc9ec63
created 2021-09-22 21:27 +0000
pushed 2021-09-23 03:42 +0000
Jonathan Kew Jonathan Kew - Bug 1719544 - part 2 - Convert gfxHarfBuzzShaper normalization callbacks from direct ICU access to mozilla::intl::String APIs. r=platform-i18n-reviewers,dminor
9786ceb8a9abea6fff8418614d9a03884d66ed9c
created 2021-09-22 23:33 +0300
pushed 2021-09-23 03:42 +0000
criss criss - Backed out 2 changesets (bug 1719544) for causing bustages on gtest.h:1445:11. CLOSED TREE
4ab330369412d3c00793154c007d248916923f6d
created 2021-09-22 18:48 +0000
pushed 2021-09-23 03:42 +0000
Jonathan Kew Jonathan Kew - Bug 1719544 - part 2 - Convert gfxHarfBuzzShaper normalization callbacks from direct ICU access to mozilla::intl::String APIs. r=platform-i18n-reviewers,dminor
11d6a9083db4b611291f81ad4315359ba1ca3fa2
created 2021-09-09 14:48 +0000
pushed 2021-09-09 21:27 +0000
Ryan VanderMeulen Ryan VanderMeulen - Bug 1726416 - Revert the changes made by bug 1716029 which are no longer needed. r=jfkthame
8bcf47bf9ab1e6761a8b74603ee42d51c12c1b84
created 2021-06-17 19:11 +0000
pushed 2021-06-18 09:20 +0000
Jonathan Kew Jonathan Kew - Bug 1716029 - Shape numeric runs in Arabic or Hebrew with RTL buffer directionality, so that OpenType rules will process glyphs in logical order. r=lsalzman
78df986fcd172aa68dcbd4484272385be630a46b
created 2021-06-15 21:08 +0300
pushed 2021-06-16 03:36 +0000
Sandor Molnar Sandor Molnar - Backed out changeset bd9776af79de (bug 1716029) for causing reftest failures. CLOSED TREE
bd9776af79dee695dd8260fdc077685e4405ee6b
created 2021-06-15 16:44 +0000
pushed 2021-06-16 03:36 +0000
Jonathan Kew Jonathan Kew - Bug 1716029 - Shape numeric runs in Arabic or Hebrew with RTL buffer directionality, so that OpenType rules will process glyphs in logical order. r=lsalzman
37ddac04a09bf675d223386d5ac912ececf782b3
created 2021-06-14 12:32 +0000
pushed 2021-06-14 21:54 +0000
Jonathan Kew Jonathan Kew - Bug 1711479 - Support various metrics (not only ex-height) as the basis for font-size-adjust calculations in the gfx font implementations. r=layout-reviewers,emilio
98ae69287e9eace5273b3c7b590d334f369a84b1
created 2020-11-13 13:15 +0000
pushed 2020-11-14 09:46 +0000
Jonathan Kew Jonathan Kew - Bug 1674340 - Separate out language from gfxFontStyle and pass it separately to shaping processes that need it. r=lsalzman
d91eaf1281199ecf04e36eea1d169e1bb39c371c
created 2020-10-26 05:33 +0000
pushed 2020-10-27 04:41 +0000
Jonathan Kew Jonathan Kew - Bug 1673098 - Ensure we use our implementation of the get_nominal_glyph callback when shaping a CFF font, so that hyphen fallbacks can take effect. r=lsalzman
4847c70f7faa440dd17636336f18bca7ba8a4b14
created 2020-10-26 15:35 +0200
pushed 2020-10-27 04:41 +0000
Mihai Alexandru Michis Mihai Alexandru Michis - Backed out changeset 0a6c18c6e9d5 (bug 1673098) for causing webrender failures.
0a6c18c6e9d5074422d5254542b6a659c2612da3
created 2020-10-26 05:33 +0000
pushed 2020-10-27 04:41 +0000
Jonathan Kew Jonathan Kew - Bug 1673098 - Ensure we use our implementation of the get_nominal_glyph callback when shaping a CFF font, so that hyphen fallbacks can take effect. r=lsalzman
bde48ea621a2072bbd6c0a03314c53159856453e
created 2020-10-13 11:00 +0000
pushed 2020-10-13 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1670581 - Fall back to ASCII hyphen-minus if Unicode hyphen character is not supported by the chosen font. r=m_kato
3466a6111998574ca89803c6641e04ea5f6455f1
created 2020-09-30 21:16 +0000
pushed 2020-10-01 09:40 +0000
Jonathan Kew Jonathan Kew - Bug 1665773 - Ensure CompressedGlyph::SetComplex() always clears the glyphCount to zero; let gfxShapedText::SetDetailedGlyphs() own the setting of this field. r=heycam
07f5cb328a100e491c7681534d85ef85653f2a6f
created 2020-07-30 11:48 +0000
pushed 2020-07-30 21:54 +0000
Jonathan Kew Jonathan Kew - Bug 1655364 - Rename gfxShapedText::SetGlyphs to SetDetailedGlyphs and make it just set glyph information, not clobber character-type flags. r=heycam
c218ff4e2a2c50b6b76a4372672e3aa0df7ce093
created 2020-07-30 13:25 +0300
pushed 2020-07-30 15:44 +0000
Mihai Alexandru Michis Mihai Alexandru Michis - Backed out changeset 3c88adc13a06 (bug 1655364) for causing assertion failures regarding glyphs.
3c88adc13a06e3588307bf57d85437d1585a451a
created 2020-07-30 07:56 +0000
pushed 2020-07-30 15:44 +0000
Jonathan Kew Jonathan Kew - Bug 1655364 - Rename gfxShapedText::SetGlyphs to SetDetailedGlyphs and make it just set glyph information, not clobber character-type flags. r=heycam
346767fe3f9027d50222a07a981d8eb3b573fea5
created 2020-04-15 14:14 +0000
pushed 2020-04-15 21:51 +0000
Jonathan Kew Jonathan Kew - Bug 1629787 - Initialize font metrics via harfbuzz API rather than reading tables directly, so that variations are respected. r=lsalzman
c1a405056197a7d2334290e86e618eccadd0dfd5
created 2019-10-28 20:57 +0000
pushed 2019-10-29 04:05 +0000
Jonathan Kew Jonathan Kew - Bug 1588788 - Pass the correct variation settings to harfbuzz shaping, including any derived from font-weight/-stretch/-style properties. r=lsalzman
699f10cc065816c316490eb397fb61ab40634f32
created 2019-09-16 17:15 +0000
pushed 2019-09-17 09:36 +0000
Lee Salzman Lee Salzman - Bug 1547063 - Use FreeType metrics directly instead of querying Cairo. r=jfkthame
ece24a197d500be1d4f48838c6f4a12a2fb1861c
created 2019-09-16 10:44 +0300
pushed 2019-09-16 07:51 +0000
Cosmin Sabou Cosmin Sabou - Backed out 8 changesets (bug 1547063) for causing bug 1581466. a=backout
003f5a79c6a74f22eb289f4c29adf8a9e1028013
created 2019-09-15 03:01 +0000
pushed 2019-09-15 09:36 +0000
Lee Salzman Lee Salzman - Bug 1547063 - Use FreeType metrics directly instead of querying Cairo. r=jfkthame
e1993a1f09ac53cd1a04fdf6a87f8cad8e44f73e
created 2019-05-01 08:47 +0000
pushed 2019-05-01 15:54 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
76555eaa45e10693f62531191e9061bb97640f7f
created 2019-04-30 21:11 +0000
pushed 2019-05-01 04:21 +0000
Jonathan Kew Jonathan Kew - Bug 197649 - For OpenType/CFF fonts, use harfbuzz ot-font functions rather than thebes callbacks. r=jrmuizel
a4e2c4690d8d508e32bb39a344e99ab180e051e8
created 2019-04-01 14:32 +0000
pushed 2019-04-01 21:54 +0000
Jonathan Kew Jonathan Kew - Bug 1533428 - patch 2 - Move the Orientation enum from gfxFont to nsFontMetrics to enable some #include-elimination, in particular to avoid including gfxTextRun.h in nsFontMetrics.h. r=jwatt
b3f5c1b6b44d8f23515387d5820f71da566a81bd
created 2019-02-18 17:16 +0000
pushed 2019-02-19 04:38 +0000
Jonathan Kew Jonathan Kew - Bug 1528758 - No need for a null-check before calling hb_*_destroy functions, as they do it internally. r=jrmuizel
19828a8dd8ae5ce8d7aa37d57ed607ee3043e49b
created 2018-12-31 11:43 +0000
pushed 2018-12-31 21:26 +0000
Jeff Muizelaar Jeff Muizelaar - Bug 1516677. Remove unused drawtarget parameter. r=jfkthame
66eb1f485c1a3ea81372758bc92292c9428b17cd
created 2018-12-01 04:52 +0900
pushed 2018-12-01 05:49 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-11-30 11:01 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
588fe70e5905480ebc60225b4b093ff276df72d2
created 2018-09-12 20:34 +0100
pushed 2018-09-13 02:31 +0000
Jonathan Kew Jonathan Kew - Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman
ba5c08f10923c181c30ef42b371ed9009974911d
created 2018-06-16 17:42 +0300
pushed 2018-08-06 21:58 +0000
Andi-Bogdan Postelnicu Andi-Bogdan Postelnicu - Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical
1b9dcb1b80dd3f906ab4f59556afe32b71c51d12
created 2018-06-27 16:12 +0100
pushed 2018-06-27 22:08 +0000
Jonathan Kew Jonathan Kew - Bug 1471584 - Micro-optimize text shaping by avoiding an unnecessary virtual method call. r=lsalzman
e96eaa6603005c3e2361d9d32ef59adb718d4203
created 2018-05-19 08:32 +0100
pushed 2018-05-19 21:46 +0000
Jonathan Kew Jonathan Kew - Bug 1412882 - Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. r=lsalzman
8a94faa5cc60495da5d80d4b3c07bf5877d2e6d8
created 2018-04-13 16:01 +0300
pushed 2018-04-13 13:02 +0000
Sebastian Hengst Sebastian Hengst - Backed out 4 changesets (bug 525063) on request from Andi. a=backout
d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
created 2018-04-10 21:11 +0200
pushed 2018-04-11 23:46 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
e9b8c798e67de86db459ce020218664487744270
created 2018-02-16 12:40 +0000
pushed 2018-02-17 09:56 +0000
Jonathan Kew Jonathan Kew - Bug 1438674 - For non-OpenType/TrueType fonts, use synthesized glyph origin & advance for vertical shaping, rather than just refusing to use the font. r=dholbert
d76b88de07ca4fff02828d24db2dbce6e4f3d7e4
created 2018-01-19 10:46 +0000
pushed 2018-01-21 09:51 +0000
Jonathan Kew Jonathan Kew - Bug 1431305 - Handle fallback (rotated) rendering of characters with Vertical_Orientation=Tr when the font does not support them via 'vert', nor is there a vertical presentation form encoded in Unicode. r=m_kato
2648e1488e607d5f91e86008b6bbe9ca5d6a4e76
created 2018-01-19 17:56 +0200
pushed 2018-01-20 09:42 +0000
shindli shindli - Backed out changeset 33571130ef67 (bug 1431305) for failing in /text-orientation-mixed-vlr-100-ref.html on a CLOSED TREE
33571130ef67d4d9105dae116fd469dcdf6e0fd9
created 2018-01-19 10:46 +0000
pushed 2018-01-20 09:42 +0000
Jonathan Kew Jonathan Kew - Bug 1431305 - Handle fallback (rotated) rendering of characters with Vertical_Orientation=Tr when the font does not support them via 'vert', nor is there a vertical presentation form encoded in Unicode. r=m_kato
e2dc5d006fc76e2e013d0d07a9707c20c2b3227c
created 2017-11-11 15:32 +0000
pushed 2017-11-11 22:05 +0000
Jonathan Kew Jonathan Kew - Bug 1411625 - Remove the constructor from gfxShapedText::CompressedGlyph to make it a trivial class, and provide a couple of convenience "factory" methods to create simple and complex glyph values. r=andi
4558b0224f93da51967202c3bb988176352c9e7d
created 2017-10-30 14:55 +0000
pushed 2017-10-30 22:52 +0000
Jonathan Kew Jonathan Kew - Bug 1412355 - Replace the mXOffset/mYOffset fields in DetailedGlyph records with a gfx::Point that stores glyph offsets in line-orientation-relative coordinates. r=jrmuizel
c0eb1f08953b31362483a415465d2964a67a5f0c
created 2017-10-28 16:39 +0200
pushed 2017-10-28 21:59 +0000
Sebastian Hengst Sebastian Hengst - Backed out changeset 4905048de8d1 (bug 1412355) for frequently failing reftest layout/reftests/writing-mode/1248248-1-orientation-break-glyphrun.html on Linux x64 debug and asan. r=backout
4905048de8d11e8bec261886d68be9c3f99d312b
created 2017-10-28 11:37 +0100
pushed 2017-10-28 21:59 +0000
Jonathan Kew Jonathan Kew - Bug 1412355 - Replace the mXOffset/mYOffset fields in DetailedGlyph records with a gfx::Point that stores glyph offsets in line-orientation-relative coordinates. r=jrmuizel
f318412203176bb8abbb88b3fdaf15b3e527190b
created 2017-10-27 18:57 +0100
pushed 2017-10-27 21:31 +0000
Jonathan Kew Jonathan Kew - Bug 1395926 - Fix up handling of glyph offsets for text shaped in vertical mode. r=jrmuizel
e09ffeb018f88003cbedfb219064897af6689a9c
created 2017-10-12 14:25 +0100
pushed 2017-10-12 21:58 +0000
Jonathan Kew Jonathan Kew - Bug 1360128 - Pass values from font-variation-settings through to the harfbuzz font object, so that shaping can take variations into account. r=jrmuizel
762cf727dc750b6f26650313c693dfa282969f24
created 2017-09-22 10:37 +0100
pushed 2017-09-22 21:56 +0000
Jonathan Kew Jonathan Kew - Bug 1402049 - Remove support for using legacy Gecko normalization in gfxHarfBuzzShaper, as ICU is always available. r=jrmuizel
ea0a7d5c2c2e117ba529e76a8db283ce89140ded
created 2017-09-21 14:15 +0100
pushed 2017-09-22 00:03 +0000
Jonathan Kew Jonathan Kew - Bug 1376231 - Invert the sign of glyph advance and origin y-coordinates in vertical mode, to match harfbuzz expectations, and then convert the resulting glyph positioning back to gecko's orientation. r=jrmuizel
c83fc4d57beb43a625c582d2c959242fc6566832
created 2017-09-20 10:41 -0700
pushed 2017-09-21 00:18 +0000
Wes Kocher Wes Kocher - Backed out 2 changesets (bug 1376231) for reftest failures in 1376231-vertical-gpos-adjustments-ref.html a=backout
b36ff08b10ee4703833852ab058799ba0a232550
created 2017-09-20 17:27 +0100
pushed 2017-09-21 00:18 +0000
Jonathan Kew Jonathan Kew - Bug 1376231 - Invert the sign of glyph advance and origin y-coordinates in vertical mode, to match harfbuzz expectations, and then convert the resulting glyph positioning back to gecko's orientation. r=jrmuizel
395a64d67308a9451fd7eadaa6cca0f58ae82470
created 2017-09-11 19:23 +0100
pushed 2017-09-11 21:58 +0000
Jonathan Kew Jonathan Kew - Bug 1395061 - patch 3 - Clean up vestigial code that existed to support setting the gfxFontEntry::mSymbolFont flag. r=jrmuizel
22c2c450b41e59198d38aa9936072de43ab77703
created 2017-05-02 16:41 +0100
pushed 2017-05-08 03:11 +0000
Jonathan Kew Jonathan Kew - Bug 1361392 - Re-use the hb_buffer in gfxHarfBuzzShaper instead of creating/destroying it on each call to ShapeText. r=jrmuizel
21a512c16cf8d4ab1af66c454ae9fa1e9c181ab7
created 2017-05-05 15:58 -0700
pushed 2017-05-08 03:11 +0000
Wes Kocher Wes Kocher - Backed out changeset eee394a4575b (bug 1361392) for leaksanitizer failures in pretty much all ASAN mochitests a=backout
eee394a4575b6caf23b820c930059bf994ea228d
created 2017-05-05 22:04 +0100
pushed 2017-05-08 03:11 +0000
Jonathan Kew Jonathan Kew - Bug 1361392 - Re-use the hb_buffer in gfxHarfBuzzShaper instead of creating/destroying it on each call to ShapeText. r=jrmuizel
ed010b85ea12896dd62015ae399e22d700f998e9
created 2017-05-04 22:27 +0100
pushed 2017-05-05 13:17 +0000
Jonathan Kew Jonathan Kew - Bug 1362167 - Use strongly-typed enum classes instead of generic uint16_t fields for the gfxShapedText and gfxTextRun flags. r=jrmuizel
fdf453f66c9c384768d7a8d92f129c1328886096
created 2017-04-03 17:49 +0100
pushed 2017-04-12 21:39 +0000
Jonathan Kew Jonathan Kew - Bug 1352528 - Hoist call to GetRoundOffsetsToPixels out of the inner loop of text shaping. r=jrmuizel
8465070e0b1f260d04a96baee85870e197737952
created 2017-02-23 15:29 +1300
pushed 2017-02-23 13:59 +0000
David Major David Major - Bug 1341490: Unified-build bustage fixes.
e92988d277ae11130bf5e6774bc0c1bbaf1521b4
created 2016-12-13 12:15 +0000
pushed 2016-12-14 15:41 +0000
Jonathan Kew Jonathan Kew - Bug 1320665 - Add support for 'cmap' subtable format 13. r=jrmuizel
6dfee6a56324feed0a4d80c1c448095e0891b76c
created 2016-12-13 10:56 -0800
pushed 2016-12-14 03:25 +0000
Phil Ringnalda Phil Ringnalda - Backed out 2 changesets (bug 1320665) for Windows failures in 1320665-cmap-format-13.html
59bdf1eb5d2d34e4acf52df73802e91f1351c3af
created 2016-12-13 16:16 +0000
pushed 2016-12-14 03:25 +0000
Jonathan Kew Jonathan Kew - Bug 1320665 - Add support for 'cmap' subtable format 13. r=jrmuizel
less more (0) -100 -60 tip