summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Drop g_type_init callsMatthias Clasen2019-07-044-23/+0
| | | | | These were ifdefed to an older version of GLib than we require now, so are just dead code.
* Update the pair tableMatthias Clasen2019-07-031-1/+42
| | | | | This was done by comparing with the Bidi_Mirrored property in Unicode 12.
* Merge branch 'libthai' into 'master'Matthias Clasen2019-07-031-4/+4
|\ | | | | | | | | Unicode 11 support for Thai language See merge request GNOME/pango!20
| * Update break-thai.c to Unicode 11Peng Wu2018-11-291-4/+4
| | | | | | | | | | According to the comments from break-thai.c, use alternative approach for break-thai.c .
* | meson: Use 'standard' option namesMatthias Clasen2019-07-011-1/+1
| | | | | | | | | | | | | | | | Use 'gtk_doc' for documentation and 'introspection' for, well, introspection. This matches what the rest of the stack does. Fixes https://gitlab.gnome.org/GNOME/pango/issues/364
* | Merge branch 'replace-deprecated-hb-api' into 'master'Matthias Clasen2019-07-011-4/+24
|\ \ | | | | | | | | | | | | Replace deprecated Harfbuzz API See merge request GNOME/pango!39
| * | Drop deprecated Harfbuzz APIEmmanuele Bassi2019-01-041-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | Harfbuzz deprecated hb_ot_tag_from_language() and hb_ot_tags_from_script(), and replaced them both with a single call, hb_ot_tags_from_script_and_language(). Let's move Pango to the new API, and avoid the deprecated calls.
* | | Merge branch 'coretext-fontset-multifix' into 'master'Matthias Clasen2019-07-011-14/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Core text: Fix indexing into cascade list when multiple fonts are selected Closes #352 See merge request GNOME/pango!54
| * | | Core text: Fix indexing into cascade list when multiple fonts are selectedJeremy Tan2019-06-101-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug introduced from 633fd80. With that changeset, if multiple fonts from the provided font family are found, they are added to the start of fontset->fonts. Space for the cascade list (based on the 'best'/first font) then follows. However, pango_core_text_fontset_get_font_at was not updated to match this change. So it still assumes that there is at most only one 'real' font in fonset->fonts. With this assumption, the indexing into fontset->cascade_list became incorrect, leading to an out-of-bounds access on that list, resulting in an exception being thrown. Track the number of fonts found in pango_core_text_fontset_new in real_fount_count, and use this as the offset into cascade_list. This also fixes a memory leak; when a PangoCoreTextFontSet is initialised, fonts and coverages are pre-initialised, but this was being discarded and re-set in pango_core_text_fontset_new without freeing the previous initialisation.
* | | | Fix the value of PANGO_SCALE_X_SMALLEgmont Koblinger2019-06-271-2/+2
|/ / / | | | | | | | | | Closes #372
* | | Re-generate pango-script-lang-table.hChun-wei Fan2019-06-061-2/+2
| | | | | | | | | | | | | | | This contains the updates that removes the empty arrays from the generated code.
* | | Update Croatian pangram in pango-language-sample-table.hmilotype2019-05-301-3/+3
| | |
* | | Silence a compiler warningMatthias Clasen2019-05-271-1/+1
| | |
* | | Add a note to pango_language_get_scripts docsMatthias Clasen2019-05-271-0/+4
| | | | | | | | | | | | | | | Explain that returned script values are, in fact, from the GUnicodeScript enumeration.
* | | Regenerate the script-lang tableMatthias Clasen2019-05-271-249/+251
| | |
* | | Deprecate pango_script_for_unicharMatthias Clasen2019-05-272-1/+2
| | |
* | | Stop using the PangoScript typeMatthias Clasen2019-05-271-2/+2
| | | | | | | | | | | | | | | | | | We were using the enum nicks in on place. Use GUnicodeScript instead, since that is getting updated for newer Unicode versions.
* | | Add more deprecation notes around PangoScriptMatthias Clasen2019-05-272-7/+16
| | | | | | | | | | | | | | | | | | Make it clear that PangoScript is deprecated, and will not be updated. And that all APIs are in fact returning GUnicodeScript, and callers have to handle that.
* | | Revert "Replace PangoScript by GUnicodeScript"Michael Catanzaro2019-05-272-131/+140
| | | | | | | | | This reverts commit 3e754defc364a89b2136894399b3463976840156
* | | Replace PangoScript by GUnicodeScriptMatthias Clasen2019-05-252-140/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces the PangoScript enum by a typedef to GUnicodeScript, and preserves the old enum values as defines. This depends on adding an enum type for GUnicodeScript in gobject.
* | | Respect Dependent Vowels for Indic languagePeng Wu2019-04-091-63/+7
| | | | | | | | | | | | For Dependent Vowels, the grapheme needs to be deleted by character.
* | | import pango-break-table.hPeng Wu2019-04-091-0/+532
| | |
* | | docs: pango_read_line/scan_word/string take normal reference to GStringRico Tzschichholz2019-04-041-3/+3
| | |
* | | docs: out parameters which are enums are not caller-allocatableRico Tzschichholz2019-04-041-4/+4
| | |
* | | Fixes emoji backspace deletion behaviorPeng Wu2019-04-023-1/+11
| | |
* | | macOS: Use system `Apple Color Emoji` font for emoji characters.Suyuan Chang2019-01-251-2/+6
| | |
* | | Update emoji scanner ragel file to latest from ChromeBehdad Esfahbod2019-01-243-65/+63
| | |
* | | handle VS15 emoji sequencesBehdad Esfahbod2019-01-234-493/+256
|/ /
* | pango.pc: Make gobject-2.0 a non-private requirementTom Schoonjans2018-12-191-0/+1
| |
* | Merge branch 'issue-322' into 'master'Khaled Hosny2018-12-131-21/+54
|\ \ | | | | | | | | | | | | | | | | | | Issue #322 - Vertical text doesn't fall back to rotated versions of horizontal glyphs when necessary Closes #322 See merge request GNOME/pango!28
| * | Issue #322 - Vertical text doesn't fall back to rotated versions ...ONO Yoshio2018-10-221-21/+54
| | | | | | | | | | | | | | | | | | | | | ...of horizontal glyphs when necessary Implemented UAX#50 to determine whether characters rotate or not in vertical layout.
* | | Clarify docs around text inputMatthias Clasen2018-12-124-14/+16
| | | | | | | | | | | | | | | | | | | | | Make it clear that all text input must be valid UTF-8, except in the case pango_layout_set_text, which we now officially document as accepting and handling invalid input.
* | | Fix fallout from bidi deprecationMatthias Clasen2018-12-118-40/+91
| | | | | | | | | | | | | | | | | | | | | PangoDirection is still used in some public apis, so just keep it around. Closes: #339
* | | Merge branch 'win32-dont-hardcode-fallbacks' into 'master'Emmanuele Bassi2018-12-042-3/+104
|\ \ \ | | | | | | | | | | | | | | | | pangowin32: Read the font fallback list from the registry instead of hardcoding it for some fonts. See merge request GNOME/pango!34
| * | | pangowin32: Read the font fallback list from the registry instead of ↵Christoph Reiter2018-12-042-3/+104
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hardcoding it for some fonts. We only had a fallback list for "Segoe UI" which is the default Windows font, but not on Chinese or Korean Windows version which use "JhengHei UI" etc. and fall back to "Segoe UI". Instead of hardcoding the fallbacks in the alias list read them from the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink) This should allow us to use the default Windows font by default in gtk+ on Win8+, see https://gitlab.gnome.org/GNOME/gtk/merge_requests/436 for details. This also bumps the required Windows version to Vista for RegGetValueW().
* | | pango/break.c: Declare variables at top of blockChun-wei Fan2018-12-041-1/+4
|/ / | | | | | | This ensures everything build with pre-C89 compilers.
* | Merge branch 'unicode11' into 'master'Matthias Clasen2018-11-274-102/+299
|\ \ | | | | | | | | | | | | Update Unicode Text Segmentation to Unicode 11 See merge request GNOME/pango!15
| * | Update Line Break to Unicode 11Peng Wu2018-11-201-5/+3
| | |
| * | Update Word Boundary to Unicode 11Peng Wu2018-11-201-1/+14
| | |
| * | Update Grapheme Boundary to Unicode 11Peng Wu2018-11-203-96/+42
| | |
| * | Update pango-emoji-table.h to include Extended Pictographic tablePeng Wu2018-11-201-0/+240
| | |
* | | [emoji] Err. Back to newer data fileBehdad Esfahbod2018-11-201-18/+24
| | |
* | | [emoji] Shrink the emoji table by merging adjacent rangesBehdad Esfahbod2018-11-201-189/+42
|/ / | | | | | | Patch by David Corbett in HarfBuzz.
* | Merge branch 'variable-face' into 'master'Matthias Clasen2018-11-193-2/+59
|\ \ | | | | | | | | | | | | Variable face See merge request GNOME/pango!25
| * | Skip variable when enumerating facesMatthias Clasen2018-11-191-0/+10
| | | | | | | | | | | | | | | | | | The variable face is somewhat special, and we don't want to confuse things by calling it 'Regular' (since it doesn't have a style).
| * | Implement variable family api for fontconfigMatthias Clasen2018-11-191-1/+24
| | | | | | | | | | | | | | | This is very straightforward, since fontconfig has a field for this.
| * | Add a variable family APIMatthias Clasen2018-11-192-1/+25
| | | | | | | | | | | | | | | pango_font_family_is_variable() return whether a font family supports font variations.
* | | Deprecate bidi apisMatthias Clasen2018-11-191-4/+7
|/ / | | | | | | | | We agreed that people should just use fribidi for this information.
* | Bump version to 1.43Matthias Clasen2018-11-191-1/+25
| | | | | | | | We're going to add new api, so add version markers etc.
* | Merge branch 'emoji-ragel' into 'master'Matthias Clasen2018-11-195-131/+768
|\ \ | | | | | | | | | | | | Emoji ragel See merge request GNOME/pango!31