Update Freetype to 2.12.1

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8186 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fbc82d8b4e9de7a67582e5d2fc9a320ca71975a4
Former-commit-id: 74227e53ed7aa1ddeaab10e90a5bc5ea47cb6fe3
This commit is contained in:
beaglejoe 2022-06-11 21:04:11 +00:00
parent af61b2e6c6
commit a8c9b1ae6e
2 changed files with 96 additions and 26 deletions

View file

@ -1,35 +1,105 @@
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.
FreeType 2.12.1
===============
There are two ways to generate the documentation:
Homepage: https://www.freetype.org
1. Using `make refdoc':
FreeType is a freely available software library to render fonts.
- 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.
It is written in C, designed to be small, efficient, highly
customizable, and portable while capable of producing high-quality
output (glyph images) of most vector and bitmap font formats.
2. Using `make refdoc-venv' (requires internet access):
Please read the `docs/CHANGES` file, it contains IMPORTANT
INFORMATION.
- 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.
Read the files `docs/INSTALL*` for installation instructions; see the
file `docs/LICENSE.TXT` for the available licenses.
This also works with Jam: Just type `jam refdoc' in the main directory.
For using FreeType's git repository instead of a distribution bundle,
please read file `README.git`.
Some troubleshooting tips:
The FreeType 2 API reference is located in directory `docs/reference`;
use the file `index.html` as the top entry point. [Please note that
currently the search function for locally installed documentation
doesn't work due to cross-site scripting issues.]
* Regularly run `pip install --upgrade docwriter' to check for updates which
may include bug fixes.
Additional documentation is available as a separate package from our
sites. Go to
* `Docwriter' does not support Python 2. Ensure that Python >= 3.5 is
installed and available as `python3'/`python'.
https://download.savannah.gnu.org/releases/freetype/
* Ensure that `docwriter' is installed in the same Python target that
`make refdoc' uses (python3/python).
and download one of the following files.
* If none of this works, send a mail to `freetype-devel@nongnu.org' or file
an issue at `https://github.com/freetype/docwriter/issues'.
freetype-doc-2.12.1.tar.xz
freetype-doc-2.12.1.tar.gz
ftdoc2121.zip
To view the documentation online, go to
https://www.freetype.org/freetype2/docs/
Mailing Lists
-------------
The preferred way of communication with the FreeType team is using
e-mail lists.
general use and discussion: freetype@nongnu.org
engine internals, porting, etc.: freetype-devel@nongnu.org
announcements: freetype-announce@nongnu.org
git repository tracker: freetype-commit@nongnu.org
The lists are moderated; see
https://www.freetype.org/contact.html
how to subscribe.
Bugs
----
Please submit bug reports at
https://gitlab.freedesktop.org/freetype/freetype/-/issues
Alternatively, you might report bugs by e-mail to
`freetype-devel@nongnu.org`. Don't forget to send a detailed
explanation of the problem -- there is nothing worse than receiving a
terse message that only says 'it doesn't work'.
Patches
-------
For larger changes please provide merge requests at
https://gitlab.freedesktop.org/freetype/freetype/-/merge_requests
Alternatively, you can send patches to the `freetype-devel@nongnu.org`
mailing list -- and thank you in advance for your work on improving
FreeType!
Details on the process can be found here:
https://www.freetype.org/developer.html#patches
Enjoy!
The FreeType Team
----------------------------------------------------------------------
Copyright (C) 2006-2022 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,
modified, and distributed under the terms of the FreeType project
license, LICENSE.TXT. By continuing to use, modify, or distribute
this file you indicate that you have read the license and understand
and accept it fully.
--- end of README ---

View file

@ -156,12 +156,12 @@ set(PNG_HASH SHA256=daeb2620d829575513e35fecc83f0d3791a620b9b93d800b763542ece939
# freetype
message(STATUS "Note special path handling (version in path) AND hard-coded 'freetype2'")
set(FREETYPE_VERSION 2.11.1)
set(FREETYPE_VERSION 2.12.1)
set(FREETYPE_PROJECT freetype-${FREETYPE_VERSION})
string(REPLACE "." "" FREETYPE_TAG ${FREETYPE_VERSION})
set(FREETYPE_FILE ft${FREETYPE_TAG}.zip)
set(FREETYPE_URL https://sourceforge.net/projects/freetype/files/freetype2/${FREETYPE_VERSION}/${FREETYPE_FILE}/download)
set(FREETYPE_HASH SHA256=9cf52488ebad684d6c967ea377e4a4c0e44454a97c8a0afbf33bba27256dc69c)
set(FREETYPE_HASH SHA256=a32bf78834279203ed726ac26b82ee6c570b5d346eaecaf1b79eec722fe7482d)
message(STATUS "Note special path handling (version in path) AND hard-coded 'freetype2'")
set(FREETYPE_LEGACY_VERSION 2.10.4)