185 Commits

Author SHA1 Message Date
Colin M. Ford
162a4590e0 Common Lib Key Registry Entry 2023-11-28 11:31:19 -05:00
Nikolaus Waxweiler
bbc30738cf Accept empty condition sets 2023-10-12 14:47:10 +01:00
Colin Rofls
48f5f3f2b7 [designspace] Clarify in docs that <lib> is plist 2023-07-24 16:05:19 -04:00
Nikolaus Waxweiler
896ac28f99 Document instance labelling 2023-07-20 15:18:36 +01:00
Behdad Esfahbod
3235454fcd [designspace] Mark <source name="..."> as optional
Fixes https://github.com/fonttools/fonttools/issues/3193
2023-06-29 12:33:05 -04:00
Khaled Hosny
2f97f1abe9 Rename volto to voltLib.voltToFea 2023-06-14 20:38:18 +03:00
Khaled Hosny
de76e71b7b Add Volto
A tool for converting VOLT VTP projects to feature files.

Essentially https://github.com/TiroTypeworks/TiroTools/tree/master/Volto
with minor modifications to fit into FontTools.
2023-06-14 09:17:47 +03:00
Behdad Esfahbod
ddf16c9130 [designspaceLib/avar2] Apply review comments 2023-06-01 11:54:43 -06:00
Behdad Esfahbod
a8f9fa98ec [designspaceLib/docs] varLib spelling 2023-05-30 22:36:00 -06:00
Behdad Esfahbod
2740f98c9e [designspaceLib/avar2] More docs 2023-05-30 22:32:18 -06:00
Behdad Esfahbod
d513e563ff [designspaceLib/avar2] Add XML docs 2023-05-30 22:16:46 -06:00
Harry Dalton
81e5bf2ee7 Bump minimum Python version in docs, as 3.8 is now required 2023-03-10 15:39:09 +00:00
Nikolaus Waxweiler
d584daa8fd Blacken code 2022-12-13 11:26:36 +00:00
Parag Nemade
0a176acabc
Update branch name from master to main 2022-11-09 10:11:02 +05:30
Jany Belluz
9022c3a41c [designspaceLib] Small doc fixes 2022-11-01 09:31:12 +00:00
Jany Belluz
1396ae4d66 [designspaceLib] Document XML field <labels ordering="1"> 2022-10-18 17:27:31 +01:00
Ben Kiel
8c3fa47ba8 checkAxis and checkDefault were removed in 3.27.0 2022-08-24 18:57:38 +01:00
Ben Kiel
02cfc286c0
Add note about support for specific values (#2715)
* Add note about support for specific values

Co-authored-by: Jany Belluz <jany.belluz@daltonmaag.com>
2022-07-29 11:47:44 -05:00
Jany Belluz
dbef683624 [config] Add documentation 2022-04-14 15:23:38 +01:00
Jany Belluz
5a842cc249 [designspaceLib] Update documentation and add version 5 2022-04-14 15:05:20 +01:00
Takaaki Fuji
d181ecaaaf Fix warnings when generating docs 2022-01-12 01:27:40 +09:00
Takaaki Fuji
d0dbbbd3c8 Rename to freetypePen/FreeTypePen 2022-01-10 23:51:28 +09:00
Takaaki Fuji
e4c1deb64f Add documentation
Note that the example covers a ltr/rtl/ttb typesetting with uharfbuzz.
2022-01-08 02:06:14 +09:00
Cosimo Lupo
bd58e66dbf bump unicodedata2 dependency to 14.0.0
now supports pypy3 and Unicode 14.0
2021-12-20 16:44:17 +00:00
Simon Cozens
3e0caa881e
[docs] Fully document the glyf table (#2457)
* Fully document the glyf table

* Correct docs for getGlyphName/getGlyphId

* Fix typo

* Grammar nits
2021-12-02 15:32:20 +00:00
Simon Cozens
f887389d59
[docs] Fully document the cmap table (#2454)
* Fully document the cmap table

* Try not to completely break cmap handling while writing docs, Simon
2021-12-02 15:32:03 +00:00
Simon Cozens
0f03e6529a
[docs] Fix sphinx warnings (#2453)
* Add default auto doc options

* Ensure all references are unique

* Use anonymous links to avoid duplicate references

* Remove default options, fix wrong module name

* Don’t index repeated class

* Remove repeated classes included through automodule

* Fix warnings

* We don’t use our own static directory

* Correctly format XML in docs

* Fix indentation

* Fix overline

* Bring TOC to top

* Fix definition list

* Offset definition lists and examples

* Fix erroneous markup

* Fix markup

* Already included in automodule

* Fix args markup

* Correct markup for example

* Don’t reindex repeated module

* Correct XML code block markup

* Fix markup errors, change example to doctest

* Correct list markup

* Make ttx docstring both valid RST and valid help output

* Various other boring markup fixes

* Fix example indenting

* Make docstring valid RST and valid help output

* Mock import for reportlab

* It’s ok if manual links don’t appear in toctrees

* Oops typo, I guess doctests are useful
2021-12-02 15:31:49 +00:00
Simon Cozens
e0dc30aa2d
[docs] Improve documentation for fontTools.ttLib.ttFont (#2442) 2021-11-18 13:06:02 +00:00
Simon Cozens
00f37ea6b6
[docs] Split table docs into individual pages (#2444) 2021-11-18 09:01:27 +00:00
Khaled Hosny
5e3774bd7b Remove py23 from the documentation
We don’t want anyone to use it anymore.
2021-08-20 01:31:50 +02:00
Khaled Hosny
83ed0b4feb [Doc] Add tfmLib 2021-07-05 16:09:15 +02:00
Just van Rossum
5fc65d7168
Misc py23 cleanups (#2243)
* Replaced all from ...py23 import * with explicit name imports, or removed completely when possible.
* Replaced tounicode() with tostr()
* Changed all BytesIO ans StringIO imports to from io import ..., replaced all UnicodeIO with StringIO.
* Replaced all unichr() with chr()
* Misc minor tweaks and fixes
2021-03-29 11:45:58 +02:00
Simon Cozens
a0d6ca3b76 ReStructuredText nits 2021-03-03 13:33:58 +00:00
Simon Cozens
516d0f7dfe Add definitions for varLib-specific terms 2021-03-03 12:57:52 +00:00
Simon Cozens
9cb126b10a Document expected arguments for _TTGlyphSet, _TTGlyph and TTGlyphPen 2021-02-08 11:30:39 +00:00
Simon Cozens
68cbcd10cd
Merge pull request #2027 from simoncozens/mtilib-docs
Document mtiLib library
2020-09-09 15:55:23 +01:00
Cosimo Lupo
3be7c05024
Merge pull request #2041 from ctrlcctrlv/patch-1
Better document rule processing order
2020-08-17 15:38:14 +01:00
Fredrick Brennan
6af1f01289
Update readme.rst 2020-08-15 16:21:16 -07:00
Juan del Peral
502e43a4f1
typo 2020-08-13 16:02:48 +02:00
Fredrick Brennan
66a40e039d
Better document rule processing order
Close #2040
2020-08-12 09:33:41 -07:00
Simon Cozens
f72983b09d Document mtiLib library 2020-07-22 14:31:17 +01:00
Simon Cozens
db8948b654 Document otlLib.builder, high-level lookup builders.
Essentially the documentation from #1995, incorporates @dscorbett
feedback.
2020-07-03 11:38:29 +01:00
Simon Cozens
775dc6074e
fontTools.misc.* documentation, part 2 (#1981)
* Document misc.filenames
* Document misc.fixedTools
* Document misc.intTools
* Document misc.loggingTools
* Document misc.macCreatorType
* Document misc.macRes
* Document misc.plistlib
2020-06-08 15:53:48 +01:00
Simon Cozens
76902b7129
[docs] fontTools.misc.* part 1 (#1956)
* Document misc.arrayTools
* Document misc.bezierTools
* Document cliTools
* Document eexec
2020-05-19 09:51:17 +01:00
Simon Cozens
ecc764ecc0
[docs] Document cu2qu library (#1937)
[docs] Document cu2qu library

Reorganise the documentation so that everything is in one place and users are more clearly pointed to the modules which are likely to be useful for their purposes. (I still think it’s worth having at least a brief reference to ``cu2qu.cli`` in there, as a way of reminding users that there is a command-line implementation.) Docstrings are provided for non-API methods where I could understand them - trusting these will be useful for future maintainers.
2020-05-15 10:53:41 +01:00
Cosimo Lupo
d3bd81335e
Merge pull request #1958 from anthrotype/tox-skip-missing-interpreters
tox: add skip_missing_interpreters=true
2020-05-15 10:30:06 +01:00
Cosimo Lupo
0c3efde05e
developer.rst: minor editorial change [skip ci] 2020-05-15 10:23:34 +01:00
Cosimo Lupo
c1f6b4d0f1
tox: add skip_missing_interpreters=true
https://tox.readthedocs.io/en/latest/config.html#conf-skip_missing_interpreters

Runing `tox` with no options runs the tests agaist all the python
environments listed in the `tox.ini`'s `envlist` (currently 3.6, 3.7 and 3.8).

Before this change, if any of these versions was not available, tox would exit with an error. Now it will simply continue (with a warning).

This can be useful when on a developer box, one might only have a subset of all our supported interpreters installed but we don’t want to mark the build as failed because of it.

Note that on the CI I am passing the opposite command line switch to override this setting, because there I want to make sure none of the specified interpreters is skipped.
2020-05-15 10:06:35 +01:00
Simon Cozens
8d32a24710
[docs] Source documentation for cffLib (#1935)
* [docs] Source documentation for cffLib

* Address feedback
2020-05-14 17:04:34 +01:00
Simon Cozens
f3f2793444
[docs] Document fontTools.merge (#1949)
[docs] Document fontTools.merge
2020-05-14 10:06:13 +01:00