summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused remnants of shape engineKhaled Hosny2019-07-195-185/+0
|
* Remove now unused platform shaping codeKhaled Hosny2019-07-195-1353/+0
|
* Update docs imageMatthias Clasen2019-07-182-0/+251
|
* NEWS: Some more updatesMatthias Clasen2019-07-181-1/+5
|
* Merge branch 'wip/kill-shape-engine' into 'master'Matthias Clasen2019-07-1814-370/+170
|\ | | | | | | | | Kill shape engines See merge request GNOME/pango!75
| * test-shape: Exit quietlyMatthias Clasen2019-07-181-0/+4
| | | | | | | | | | We don't have any testcases for this yet, no reason to fail the testsuite.
| * Rename _pango_fc_shapeMatthias Clasen2019-07-184-21/+54
| | | | | | | | It is all harfbuzz now, so call it pango_hb_shape.
| * Stop exporting _pango_fc_shapeMatthias Clasen2019-07-181-1/+0
| | | | | | | | It is no longer used in libpangoft2.
| * Document engines as unusedMatthias Clasen2019-07-181-2/+2
| |
| * Deprecate pango_font_find_shaperMatthias Clasen2019-07-183-12/+3
| | | | | | | | | | Deprecate pango_font_find_shaper, make it return NULL, and remove the find_shaper vfunc.
| * win32: Stop providing a shape engineMatthias Clasen2019-07-181-44/+0
| | | | | | | | It is no longer used.
| * coretext: Stop providing a shape engineMatthias Clasen2019-07-181-41/+0
| | | | | | | | It is no longer used.
| * fc: Stop providing a shape engineMatthias Clasen2019-07-181-45/+0
| | | | | | | | It is no longer used.
| * itemize: Stop filling analysis->shape_engineMatthias Clasen2019-07-181-88/+36
| | | | | | | | This field is unused now.
| * Switch to using harfbuzz for shapingMatthias Clasen2019-07-181-61/+73
| | | | | | | | | | | | Drop internal shape engine uses and call _pango_fc_shape directly. This makes us use harfbuzz for shaping, on all backends.
| * Move _pango_fc_shape to libpangoMatthias Clasen2019-07-182-9/+9
| | | | | | | | | | | | | | We temporarily export it since it is still used for the shape engine in libpangoft2. This will be undone when we drop the shape engine.
| * shape: Drop unneeded includesMatthias Clasen2019-07-181-3/+2
| | | | | | | | pangofc-shape.c does not use any pangofc api anymore.
| * shape: Stop rounding glyph positionsMatthias Clasen2019-07-181-56/+0
| | | | | | | | | | | | | | As we move towards subpixel positioning and unhinted rendering, rounding the glyph positions and widths between shaping and rendering is counterproductive. So stop doing that.
* | Expand docs for pango_font_get_hb_fontMatthias Clasen2019-07-181-0/+4
| |
* | Make hb fonts immutable in the frontendMatthias Clasen2019-07-184-6/+2
|/ | | | | | It makes more sense to do this in the frontend that hands the objects out, rather than in each backend implementation.
* Merge branch 'kill-ft-face' into 'master'Matthias Clasen2019-07-1818-663/+526
|\ | | | | | | | | Use harfbuzz for font metrics and glyph lookup See merge request GNOME/pango!58
| * win32: Implement create_hb_fontChun-wei Fan2019-07-181-0/+85
| | | | | | | | | | | | | | | | | | This renders correctly in ci. This attempts to acquire the hb_font_t from the HFont that we acquire from the Windows HFONT that we use, so that we can pass things to HarfBuzz, which will handle the shaping for us. win32: Set scale on hb font
| * coretext: Implement create_hb_fontMatthias Clasen2019-07-181-0/+24
| | | | | | | | This has been tested and renders correctly.
| * Add a very basic harfbuzz testMatthias Clasen2019-07-182-0/+69
| | | | | | | | | | For now, just check that we get a non-NULL hb_font_t that has a space glyph.
| * fc: Drop freetype from pangofc-font.hMatthias Clasen2019-07-186-12/+9
| | | | | | | | | | Stop using FT_Face here, so we can stop including freetype headers.
| * fc: Drop some gratitious use of FT typesMatthias Clasen2019-07-184-15/+3
| |
| * fc: Deprecate FT_Face gettersMatthias Clasen2019-07-182-2/+4
| | | | | | | | | | We are moving away from a freetype dependency, so these will be going away at some point.
| * fc: Use harfbuzz for glyph extentsMatthias Clasen2019-07-181-63/+28
| | | | | | | | Harfbuzz has the api, no need to use freetype.
| * fc: Use harfbuzz for font metricsMatthias Clasen2019-07-181-111/+28
| | | | | | | | | | | | Note that some of the harfbuzz api we use here has not landed yet. See https://github.com/harfbuzz/harfbuzz/pull/1432
| * fc: Drop the cmap cacheMatthias Clasen2019-07-183-78/+0
| | | | | | | | This is now unused.
| * fc: Use harfbuzz for glyph lookupMatthias Clasen2019-07-181-42/+4
| | | | | | | | We don't need our own caching here.
| * fc: Make pangofc_shape backend-neutralMatthias Clasen2019-07-181-44/+47
| | | | | | | | | | Use typechecks for the two remaining bits of code that use PangoFcFont.
| * fc: Make hb font immutableMatthias Clasen2019-07-181-0/+2
| | | | | | | | | | | | The frontend is caching this object, and we are giving it out to applications. We really can't allow them to modify it in any way.
| * fc: Move font setup code from the shaperMatthias Clasen2019-07-183-332/+147
| | | | | | | | | | | | | | | | | | | | | | | | Move all the code that sets up the hb_font_t to pango_fc_font_create_hb_font, and use it from the shaper. This is the second step towards taking over font management. Even better, harfbuzz has a ready-made function for this. We can drop a lot of FT_Face-using code this way. We assume unhinted rendering for now, so we can set ppem to 0.
| * fc: Implement create_hb_fontMatthias Clasen2019-07-183-1/+69
| |
| * Add api to get a hb_font_tMatthias Clasen2019-07-184-6/+50
| | | | | | | | | | Add pango_font_get_hb_font, which will make it easier access harfbuzz features.
* | test-shape: Print glyph ids in decimalMatthias Clasen2019-07-181-1/+1
| |
* | test-shape: Print widths and offsets separatelyMatthias Clasen2019-07-181-7/+21
|/
* shape test: Output glyph widthsMatthias Clasen2019-07-181-1/+1
|
* coretext: Remove unused codeMatthias Clasen2019-07-181-24/+0
|
* Fix more compiler warningsMatthias Clasen2019-07-184-4/+4
| | | | These are clang warnings.
* Fix compiler warningsMatthias Clasen2019-07-184-5/+5
|
* OS X: Prevent recursion in get_metricsMatthias Clasen2019-07-181-14/+0
| | | | | create_base_metrics is not meant to fill in widths. That is done in _pango_cairo_font_get_metrics.
* OS X: build fixesMatthias Clasen2019-07-182-1/+4
|
* Add a test file with lots of hyphensMatthias Clasen2019-07-181-0/+3
| | | | | | | This has quite a few soft hyphens, some explicit hyphens, and some hyphenation point characters. Try it with pango-view --width=330 --wrap=word --justify test-hyphens.txt
* pango-list: Be niceMatthias Clasen2019-07-181-2/+2
| | | | No need to dump core because somebody typoed an option.
* glyph iter: Adjust assertionsMatthias Clasen2019-07-171-2/+2
| | | | | | With the inserted hyphens we end up in a situation where we have start_char == end_char at the end of an item. It seems to be otherwise harmless.
* Update expected test resultsMatthias Clasen2019-07-171-22/+20
| | | | | Some of the hyphenation fixes affected line breaks in the layout tests.
* Add a shape testMatthias Clasen2019-07-172-0/+298
| | | | | | | This is similar in spirit to hb-shape. Take an input and produce a sequence of glyphs as output. There are no testcases yet.
* layout: Fix reshaping with hyphen runsMatthias Clasen2019-07-171-2/+15
| | | | | | When we are uninserting a hyphen run, we need to undo the modifications of the item we split it off from.