freetype2/docs
Alexei Podtelezhnikov 22befeef82 Signedness revisions.
This eliminates explicit casting by switching to unsigned fields.
The revisions mostly impact the handling of CID fonts.

* include/freetype/fttypes.h (FT_Data): Change to unsigned `length`.
* include/freetype/t1tables.h (CID_FaceDictRec): Ditto for `sd_bytes`.
(CID_FaceInfoRec): Ditto for `gd_bytes` and `gd_bytes`.
* include/freetype/internal/tttypes.h (TT_LoaderRec): Ditto for
`byte_len`.

* src/cid/cidgload.c (cid_load_glyph): Updated.
* src/cid/cidload.h (cid_get_offset): Update argument.
* src/cid/cidload.c (cid_get_offset, cid_read_subrs, cid_face_open):
Updated.
* src/cff/cffgload.c (cff_get_glyph_data, cff_free_glyph_data):
Updated.
* src/psaux/psft.c (cf2_getT1SeacComponent): Updated.
* src/truetype/ttgload.c (TT_Process_Composite_Glyph,
load_truetype_glyph): Updated.
2021-10-07 22:41:56 -04:00
..
markdown [docs] Update docwriter stylesheet for 1.3.1. 2021-03-28 15:07:05 +05:30
oldlogs Whitespace formatting. 2021-08-22 22:32:07 -04:00
.gitignore [docs] (1/2) Move static web assets (#56745). 2019-12-21 19:13:37 +01:00
CHANGES Signedness revisions. 2021-10-07 22:41:56 -04:00
CMAKE * docs/CMAKE: New dummy file. 2013-11-10 06:26:52 +01:00
CUSTOMIZE Update all copyright notices. 2021-01-17 07:18:48 +01:00
DEBUG [base] Add trace level to logging output. 2021-06-25 09:24:07 +02:00
DOCGUIDE Whitespace formatting. 2021-08-22 22:32:07 -04:00
FTL.TXT Update or fix links to use the https protocol instead of http. 2017-12-04 20:43:30 +01:00
GPLv2.TXT Update license documentation. 2011-06-18 08:06:57 +02:00
INSTALL A few words on prerequisites. 2021-04-10 23:32:20 -04:00
INSTALL.ANY Document direct header inclusion valid since 2.6.1. 2021-07-17 08:51:32 +02:00
INSTALL.CROSS Update all copyright notices. 2021-01-17 07:18:48 +01:00
INSTALL.GNU * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
INSTALL.MAC Minor documentation updates. 2017-01-13 10:33:09 +01:00
INSTALL.UNIX A few words on prerequisites. 2021-04-10 23:32:20 -04:00
INSTALL.VMS Update all copyright notices. 2021-01-17 07:18:48 +01:00
MAKEPP Fix links (mostly http -> https). 2018-12-25 22:44:05 +01:00
PROBLEMS * docs/PROBLEMS: Mention rendering differences on different 2011-02-24 20:01:00 +01:00
README [docs] Fix building docs if `srcdir' != `builddir'. 2020-03-22 23:29:51 +05:30
TODO Update all copyright notices. 2021-01-17 07:18:48 +01:00
VERSIONS.TXT * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
formats.txt Update all copyright notices. 2021-01-17 07:18:48 +01:00
freetype-config.1 * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
raster.txt Update all copyright notices. 2021-01-17 07:18:48 +01:00
release Update all copyright notices. 2021-01-17 07:18:48 +01:00

README

After saying `make refdoc' or `make refdoc-venv' the `reference/' directory
contains the FreeType API reference.  You need Python >= 3.5 and pip to make
this target.

There are two ways to generate the documentation:

1. Using `make refdoc':

    - Ensure `python' and `pip' are available.
    - Install pip package `docwriter' with `pip install --user docwriter'.
    - Make target with `make refdoc'.
    - This target can be run offline once required packages are installed.

2. Using `make refdoc-venv' (requires internet access):

    - Ensure `python', `pip' and Python package `virtualenv' are available.
    - Make target with `make refdoc-venv'.
    - This may or may not require internet access every time depending on
    pip and system caching.

This also works with Jam: Just type `jam refdoc' in the main directory.

Some troubleshooting tips:

* Regularly run `pip install --upgrade docwriter' to check for updates which
may include bug fixes.

* `Docwriter' does not support Python 2.  Ensure that Python >= 3.5 is
installed and available as `python3'/`python'.

* Ensure that `docwriter' is installed in the same Python target that
`make refdoc' uses (python3/python).

* If none of this works, send a mail to `freetype-devel@nongnu.org' or file
an issue at `https://github.com/freetype/docwriter/issues'.