summaryrefslogtreecommitdiff
path: root/pango/pango-bidi-type.c
Commit message (Collapse)AuthorAgeFilesLines
* bidi: Silence compiler warningsMatthias Clasen2021-08-221-0/+1
|
* bidi: Cleanup FriBiDi API usageKhaled Hosny2021-08-171-22/+0
| | | | Since FriBiDi 1.x is now required, we can remove use of pre-1.x API.
* Specify deprecation detailsMatthias Clasen2021-08-081-1/+1
| | | | | Unversioned deprecations come out odd in gi-docgen. Add a version to avoid that.
* Add missing bidi typestest-coverageMatthias Clasen2021-06-281-3/+4
| | | | | The api is deprecated, but it is very ugly to randomly miss a few values here. Just add them.
* docs: Link syntax fixesdocs-link-fixesMatthias Clasen2021-05-251-1/+1
| | | | | Now that gi-docgen warns about link syntax errors, we can find and fix them.
* docs: Convert gtk-doc syntax leftoversdocs-cleanupMatthias Clasen2021-05-191-3/+3
| | | | | Remove leftovers like #Type, reduce indentations to avoid markdown block quotes, etc.
* bidi: Add some deprecation noticesmisc-speedups2Matthias Clasen2021-03-291-6/+6
| | | | Just reshuffling existing docs.
* Fix various broken linksMatthias Clasen2021-03-111-1/+1
| | | | All these were pointed out by gi-docgen warnings.
* docs: Tweak bidi docsMatthias Clasen2021-03-111-18/+21
| | | | Give doc comments summaries, etc.
* docs: Convert bidi and vertical sections to pango_bidi.mdMatthias Clasen2021-03-111-18/+0
|
* Documentation tweaksMatthias Clasen2019-07-131-1/+1
|
* bidi: Be safer against bad inputMatthias Clasen2019-07-101-2/+5
| | | | | | | Don't run off the end of an array that we allocated to certain length. Closes: https://gitlab.gnome.org/GNOME/pango/issues/342
* Fix fallout from bidi deprecationMatthias Clasen2018-12-111-0/+3
| | | | | | | PangoDirection is still used in some public apis, so just keep it around. Closes: #339
* bidi: fix leak of bidi bracket typesChristian Hergert2018-07-271-1/+4
| | | | | This fixes a leak when goto is used to jump past the cleanup of the bracket_types.
* Make pango_bidi_type_for_unichar() not crash with new FriBidiBehdad Esfahbod2018-07-071-1/+3
| | | | | This function has not been updated for latest FriBidi. Should add new types and / or deprecate this function.
* Short-circuit FriBidi call if paragraph is unidirectionalBehdad Esfahbod2018-07-071-5/+64
| | | | | | | | | | | | | | | This was included in Pango's mini-fribidi but removed when we moved to external FriBidi. Most apps create PangoLayout twice to show text, one to measure, one to render. Each PangoLayout shaping apparently calls FriBidi twice (TODO: figure out why and fix); FriBidi creates two runs per work. So that's eight malloc calls per word to show text. That's a lot. With this optimization that completely disappears for most text. We should make an API in FriBidi out of this. Reported by Christian Hergert.
* Use the new FriBiDi API when availablewip/khaled/fribidiKhaled Hosny2018-02-041-0/+22
|
* Avoid converting to UTF-32 for FriBiDiKhaled Hosny2018-02-041-33/+31
| | | | | Can’t tell if this is any faster, but does not look like a complex thing to do, so why not.
* Switch to using external FriBiDiKhaled Hosny2018-02-041-15/+39
|
* Bug 685167 - migrate docs to no-tmpl flavourBehdad Esfahbod2013-09-271-2/+20
| | | | Patch from Rafał Mużyło.
* Annotations: add missing colons after symbol namesPavel Holejsovsky2012-06-041-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677407
* Bug 469049 – Fix all compiler warningsBehdad Esfahbod2008-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | 2008-12-25 Behdad Esfahbod <behdad@gnome.org> Bug 469049 – Fix all compiler warnings * pango-view/viewer-pangocairo.c (render_callback): * pango/fonts.c (append_field), (pango_font_description_to_string): * pango/opentype/harfbuzz-dump.c: * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels): * pango/pango-coverage.c (pango_coverage_set): * pango/pango-markup.c (span_parse_func): * pango/pango-renderer.c (pango_renderer_default_draw_error_underline): * pango/pango-utils.c (pango_scan_string): * pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid), (draw_error_underline), (pango_cairo_renderer_class_init): Fix all the remaining warnings. svn path=/trunk/; revision=2767
* Fix more warnings.Behdad Esfahbod2008-12-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-25 Behdad Esfahbod <behdad@gnome.org> * pango/modules.c (pango_module_load), (script_info_free): * pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table): * pango/pango-bidi-type.c: * pango/pango-coverage.c (pango_coverage_ref), (pango_coverage_unref): * pango/pango-engine.c (pango_engine_shape_real_covers), (fallback_engine_shape), (fallback_engine_covers): * pango/pango-fontmap.c (pango_font_map_init): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pangofc-decoder.c (pango_fc_decoder_init), (pango_fc_decoder_class_init): * pango/pangofc-font.c (pango_fc_font_find_shaper), (pango_fc_font_get_coverage): * pango/pangofc-fontmap.c (pango_fc_font_map_list_families), (pango_fc_make_pattern), (pango_fc_font_map_get_patterns), (get_first_font), (_pango_fc_font_map_get_coverage), (cleanup_font), (pango_fc_font_description_from_pattern), (pango_fc_face_list_sizes), (pango_fc_family_list_faces): * pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution): * pango/pangoft2-render.c (pango_ft2_renderer_init), (pango_ft2_renderer_draw_trapezoid): * pango/pangoft2.c (pango_ft2_font_get_face), (pango_ft2_font_real_unlock_face), (pango_ft2_free_glyph_info_callback): Fix more warnings. svn path=/trunk/; revision=2766
* Include <string.h> for strlen() prototype.Tor Lillqvist2008-08-031-0/+2
| | | | | | | | | | 2008-08-03 Tor Lillqvist <tml@novell.com> * pango/pango-bidi-type.c: Include <string.h> for strlen() prototype. svn path=/trunk/; revision=2668
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Behdad svn path=/trunk/; revision=2657
* Group bidi stuff together. Add a section in the docs for them.Behdad Esfahbod2008-04-221-0/+125
| | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/bidi.sgml: * docs/tmpl/main.sgml: * docs/tmpl/vertical.sgml: * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels), (pango_unichar_direction), (pango_get_mirror_char): * pango/pango-bidi-type.h: * pango/pango-types.h: * pango/pango-utils.c: Group bidi stuff together. Add a section in the docs for them. svn path=/trunk/; revision=2608
* Bug 515432 – Add function to get bidirectional character type of aBehdad Esfahbod2008-04-211-0/+75
2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 515432 – Add function to get bidirectional character type of a unicode character Patch from Jürg Billeter * docs/pango-sections.txt: * docs/tmpl/layout.sgml: * docs/tmpl/main.sgml: * docs/tmpl/pangocairo.sgml: * pango/Makefile.am: * pango/pango-bidi-type.c (pango_bidi_type_for_unichar): * pango/pango-bidi-type.h: * pango/pango-types.h: * pango/pango-utils.c (pango_log2vis_get_embedding_levels), (pango_unichar_direction): * pango/pango.def: * pango/pango.h: New public API: enum PangoBidiType; pango_bidi_type_get_type() pango_bidi_type_for_unichar() svn path=/trunk/; revision=2607