Olli Meier
51eda21b0a
Adding more unittests, based on feedback.
2022-02-10 17:11:26 +01:00
Olli Meier
6bf842a30e
Reduce unittest content and update description.
2022-02-10 16:31:17 +01:00
Olli Meier
9028a53d3b
based on feedback 'anthrotype' I use 'windowsNames' and 'macNames' in STAT table functions and 'windows' and 'mac' in name table functions.
2022-02-10 15:57:56 +01:00
derwind
b437417b71
Added the ability to recreate the PS stream ( #2504 )
...
* added the ability to recreate the PS stream
This fixes #2503
2022-02-10 15:53:12 +01:00
Olli Meier
6014cd8ae5
based on Just Van Rossum's feedback: replace variables.
2022-02-10 15:39:51 +01:00
Olli Meier
512d1a219c
cleaning code.
2022-02-10 15:16:28 +01:00
Olli Meier
7f21d5eee3
adding variable platforms
2022-02-10 15:14:20 +01:00
Olli Meier
b8792fc9f5
Based on feedback: undo name table changes.
2022-02-10 15:13:04 +01:00
Olli Meier
2a4b4a594a
based on feedback, another idea 'force'
2022-02-10 14:24:41 +01:00
Olli Meier
42b272e5d9
fix failing unitest. Look and create only names about name IDn 255 (Private Use Area)
2022-02-10 14:01:04 +01:00
Olli Meier
0f17da0836
Bugfix: The script to create a STAt table created multiple unnecessary name table entries, because it did not take care a bout existing entries with the same name.
2022-02-10 13:44:42 +01:00
Olli Meier
62bc692da1
adding description
2022-02-10 13:09:27 +01:00
Olli Meier
01ba5394fb
Create failng unittest first.
2022-02-10 13:07:37 +01:00
Cosimo Lupo
8a139f921c
Merge pull request #2526 from moontypespace/mod_get_current_family_name
...
Extend name table with more general functions
2022-02-09 17:26:22 +00:00
Olli Meier
8e0aad595d
Added my name to the list of contributers.
2022-02-09 18:04:12 +01:00
Olli Meier
5986107b43
based on feedback: Change name and add comments.
2022-02-09 17:57:55 +01:00
Olli Meier
8dddbf4a61
refactor based on feedback.
2022-02-09 17:48:51 +01:00
Olli Meier
1649973800
Make use of 'Best' in names
2022-02-09 17:44:28 +01:00
Olli Meier
6d05b938be
fix typo
2022-02-09 17:40:28 +01:00
Olli Meier
79360a30bf
Refactor based on feedback.
2022-02-09 17:34:40 +01:00
Olli Meier
1a16b24cd5
Fix unittests
2022-02-09 17:17:11 +01:00
Olli Meier
17f4b76714
remove wrong test file.
2022-02-09 17:07:32 +01:00
Olli Meier
c50f38ed0e
extend name table with getFamilyName, getSubFamilyName and getNiceFullName + unittests
2022-02-09 17:06:02 +01:00
Cosimo Lupo
31ba5e6b24
Bump version: 4.29.1 → 4.29.2.dev0
2022-02-01 11:30:25 +00:00
Cosimo Lupo
fb9dcebd46
Release 4.29.1
2022-02-01 11:30:24 +00:00
Cosimo Lupo
b86be35797
Update changelog [skip ci]
2022-02-01 11:30:16 +00:00
Cosimo Lupo
f3b4c5b031
Merge pull request #2521 from fonttools/fix-round-radial-gradient-circle
...
[colrv1] use math.isclose with relative tolerance to check radial circles' inside-ness
2022-02-01 10:57:55 +00:00
Cosimo Lupo
5558ccd3bb
[colorLib.geometry] use math.isclose with relative tolerance to check circle inside-ness
...
Fixes rounding of radial gradient in 'SING OF THE HORNS' (medium-light skin tone) noto emoji 🤘🏼
2022-01-31 18:05:26 +00:00
Cosimo Lupo
d1eca1006a
Merge pull request #2517 from takaakifuji/ftpen-transform-fix
...
freetypePen: fit to content when rotated/skewed
2022-01-31 15:29:39 +00:00
Takaaki Fuji
5f2c492635
freetypePen: format code with Black
2022-01-31 20:56:03 +09:00
Takaaki Fuji
48cbe7b054
freetypePen: prefer FT_CURVE_TAG enums
2022-01-31 20:55:33 +09:00
Takaaki Fuji
cd5c16f4d4
freetypePen: cosmetic changes
2022-01-31 18:08:51 +09:00
Takaaki Fuji
9eadd908c6
freetypePen: fix bits for cubic on-curve
2022-01-31 18:08:51 +09:00
Takaaki Fuji
e1c3cdcfde
freetypePen: raise PenError when missing moveTo
2022-01-31 18:08:51 +09:00
Takaaki Fuji
a27789c477
freetypePen: handle rotate/skew transform
...
The pen is designed to determine the bitmap size when omitted, which
helps users to see an image somehow even when they have no idea how the
arguments should be passed. And I realised that I didn't give enough
thought to rotate/skew transforms in former PRs. This commit fixes the
calculation of the bbox after transformation. Also tries to clear up how
the autosizing options work in the docstring.
Some minor fixes will follow.
2022-01-31 18:08:51 +09:00
Cosimo Lupo
69fc06a1af
Bump version: 4.29.0 → 4.29.1.dev0
2022-01-24 18:36:20 +00:00
Cosimo Lupo
aa8aaae3cc
Release 4.29.0
2022-01-24 18:36:19 +00:00
Cosimo Lupo
624130c767
Update changelog [skip ci]
2022-01-24 18:36:08 +00:00
Nikolaus Waxweiler
96ac799cf9
Merge pull request #2506 from fonttools/ufolib-expand-reserved-filenames
...
[ufoLib] Expand reserved names and fix illegal characters
2022-01-24 10:41:37 +00:00
Cosimo Lupo
48ffc7d9a0
Merge pull request #2513 from fonttools/colrv1-duplicate-base-glyphs
...
[colrv1] ensure base glyphs with equal layers share the same PaintColrLayers
2022-01-24 10:31:07 +00:00
Cosimo Lupo
afc5b0b7c6
LayerListBuilder: don't emit useless PaintColrLayers of length=1
...
We already filter len(layers)==1 out upfront, but these can sneak in after the layer reuse code when input contains two base glyphs that refer to the same list of layers. This ensure that duplicate base glyphs get the same PaintColrLayers, rather than a wrapper PaintColrLayers of length=1 pointing to the underlying shared PaintColrLayer...
2022-01-21 19:14:30 +00:00
Cosimo Lupo
e68a5a173c
colorLib_test: check that duplicate base glyphs share share the same PaintColrLayers
...
this test currently fails; currently the second, third, etc. base glyphs with the same layers gets a unique PaintColrLayers with NumLayers:1 that in turn contains the shared PaintColrLayers. They should instead all share the same PaintColrLayers. Fix in the next commit
2022-01-21 19:08:22 +00:00
Cosimo Lupo
eded208670
[colorLib] remove unused self.slices attribute from LayerListBuilder
2022-01-21 18:41:13 +00:00
Cosimo Lupo
036003e850
Merge pull request #2509 from fonttools/remove-win-wait-for-keypress-on-exit
...
remove waitForKeyPress on windows
2022-01-19 17:34:40 +00:00
Cosimo Lupo
c50cc3e1eb
Merge pull request #2508 from fonttools/jamo-as-hang-ot-script
...
unicodedata: alias 'jamo' script tag to 'hang'
2022-01-19 17:34:23 +00:00
Cosimo Lupo
7c38f3d393
remove waitForKeyPress on windows
...
One should just use 'pause' command in a batch script wait to for key press, no need for ttx to do anything.
Fixes #2507
2022-01-19 16:40:03 +00:00
Nikolaus Waxweiler
128326cd50
Expand reserved names and fix illegal characters
2022-01-18 10:13:22 +00:00
Cosimo Lupo
f7653a577d
Merge pull request #2500 from takaakifuji/rtd-ftpen-fix
...
FreeTypePen: fix missing RTD entry
2022-01-13 10:18:25 +00:00
Takaaki Fuji
88e401b57b
Add freetype-py to docs-requirements.txt
2022-01-13 19:01:24 +09:00
Takaaki Fuji
a7e330aa83
Revert "Raise ImportError in __init__"
...
This reverts commit 24d356da25a148c63c78c461a8ccc7e632371ca4.
2022-01-13 18:59:47 +09:00