Commit Graph
22 Commits
Author SHA1 Message Date
Roshan Ramani bb702ff6de [docs] Fix five function names in the user manual
The manual named hb_ot_color_reference_png/svg(),
hb_font_paint_or_fail_glyph(), hb_ft_get_face() and
hb_coretext_face_get_ct_font(), none of which exist. Use
hb_ot_color_glyph_reference_png/svg(), hb_font_paint_glyph_or_fail(),
hb_ft_font_get_face() and hb_coretext_font_get_ct_font().

Assisted-by: Claude Code:claude-opus-5-5
2026-10-17 14:13:49 +03:00
Behdad EsfahbodandClaude Opus 4.6 ec63b7d921 [docs] Surface API-reference links in each integration section
The integration chapter explained how to use hb-glib /
hb-ft / hb-cairo / hb-uniscribe / hb-coretext / hb-icu but
never linked to the actual symbol pages.  Readers had to
guess the docbook page name to find the function reference.

Add a "API reference: <link>" line at the top of each of
the five C-binding integration sections (Python intentionally
omitted -- uharfbuzz lives outside this manual).

doc-check is green.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:40:41 -06:00
Khaled Hosny c27ef57976 [usermanual] Improve program listings
Content inside <programlisting> tags is sensitive to white space, and the
extra indentation appear in the output.
2026-03-08 00:03:57 +02:00
Tor Arne Vestbø 04b2006fc9 Remove outdated documentation note about CT operating in 96 DPI
As extensively discussed and documented in #1484, Core Text does
not operate in 96 DPI. Core Text doesn't actually have a concept of
DPI internally, as it doesn't rasterize anything by itself, it just
generates vector paths that get passed along to Core Graphics.

In practice this means Core Text operates in the classical macOS
logical DPI of 72, with one typographic point corresponding to one
point in the Core Graphics coordinate system, which for a normal
bitmap context then corresponds to one pixel -- or two pixels for
a "retina" context with a 2x scale transform.

As of f401f85a5a, we no longer apply
any assumptions in HB about the target DPI being different than the
72 DPI used by CT, for example to account for the Web's standard of
96 DPI, so let's remove the documentation that still indicated this
was necessary.
2025-02-03 04:28:02 -07:00
Leandro Santiago 28cc53c9ea Smalll fix on documentation
there is no `hb_ft_font_has_changed()`. Instead, it should be `hb_ft_font_changed()`.
2024-08-27 17:44:23 +03:00
Behdad Esfahbod 7f629c0df2 [docs] clarify purpose of FreeType integration
Fixes https://github.com/harfbuzz/harfbuzz/issues/4200
2023-04-19 13:16:18 -06:00
Matthias Clasen 2c2121784a [docs] Add a Cairo integration section 2022-12-29 10:09:50 -07:00
luz paz e2e305066a Fix various typos
Found via `codespell -q 3 -S ./perf/texts -L actualy,ba,beng,fo,gir,inout,nd,ot,pres,ro,te,teh,timne`
2022-01-16 05:39:03 -08:00
n8willis 1ed30515cb [Docs, usernmanual] Fix with-icu=builtin explanation 2020-04-19 15:38:52 +01:00
n8willis d6edd9a408 [Docs, usermanual] Reword hb_ft_font_create_referenced explanation 2020-04-19 15:26:28 +01:00
n8willis 9457b60edc Update usermanual-integration.xml 2020-04-13 17:01:15 +01:00
n8willis 05b7bdb4dd Update usermanual-integration.xml 2020-04-13 16:59:41 +01:00
n8willis f782d736ce Update usermanual-integration.xml 2020-04-13 16:57:36 +01:00
n8willisandKhaled Hosny 17b60efc38 Update docs/usermanual-integration.xml
Co-Authored-By: Khaled Hosny <dr.khaled.hosny@gmail.com>
2020-04-13 16:51:58 +01:00
n8willis 3a47921e88 Update usermanual-integration.xml 2020-04-13 15:42:00 +01:00
n8willis a29578c17a Update usermanual-integration.xml 2020-04-13 15:30:18 +01:00
n8willisandKhaled Hosny c241e82f00 Update docs/usermanual-integration.xml
Co-Authored-By: Khaled Hosny <dr.khaled.hosny@gmail.com>
2020-04-13 15:28:42 +01:00
Nathan Willis 322df806ee [Docs] Usermanual: integration chapter; add GI-Python section. 2019-05-24 19:49:19 +01:00
Nathan Willis 773c85f343 [Docs] Usermanual: integration chapter; add ICU section. 2019-05-24 19:23:19 +01:00
Nathan Willis c0bb66ecbf [Docs] Usermanual: integration chapter; add CoreText/Mac section. 2019-05-24 18:49:40 +01:00
Nathan Willis dd1c7656a5 [Docs] Usermanual: integration chapter; add Uniscribe/Windows section. 2019-05-24 14:30:15 +01:00
Nathan Willis 2da567e7b6 [Docs] Usermanual: platform integration chapter; add intro, GLib, FreeType sections. Update XML TOCs to match. 2019-05-24 11:13:53 +01:00