forked from pool/rubygem-ttfunk
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ttfunk?expand=0&rev=15
253 lines
6.0 KiB
Plaintext
253 lines
6.0 KiB
Plaintext
-------------------------------------------------------------------
|
|
Fri Jun 21 10:53:20 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
|
|
|
|
- ### Fixed
|
|
|
|
* Corrupted CFF index data
|
|
|
|
there was a subtle bug in cff index implementation that resulted in
|
|
a data corruption. in certain circumstances some items didn't get
|
|
properly encoded. this happened when items were not previously accessed.
|
|
|
|
this resulted, for instance, in missing glyphs. but only sometimes
|
|
because indexes might've still contain data that shouldn't've been
|
|
there. in combination with incorrect encoding (see further) this
|
|
resulted in some glyphs still being rendered, sometimes even correctly.
|
|
|
|
along with the fix a rather large api change landed. this resulted in
|
|
quite a big diff.
|
|
|
|
Alexander Mankuta
|
|
|
|
* Incorrect CFF encoding in subsets
|
|
|
|
TTFunk used to reuse encoding from the original font. This mapping was
|
|
incorrect for subset fonts which used not just a subset of glyphs but
|
|
also a different encoding.
|
|
|
|
A separate issue was that some fonts have empty CFF encoding. This
|
|
incorrect mapping resulted in encoding that mapped all codes to glyph 0.
|
|
|
|
This had impact on Prawn in particular. PDF spec explicitly says that
|
|
CFF encoding is not to be used in OpenType fonts. `cmap` table should
|
|
directly index charstrings in the CFF table. Despite this PDF renderers
|
|
still use CFF encoding to retrieve glyphs. So TTFunk has to discard the
|
|
original CFF encoding and supply its own.
|
|
|
|
Alexander Mankuta
|
|
|
|
* `maxp` table
|
|
|
|
The table is now correctly parsed and encoded for both TrueType and CFF-based
|
|
OpenType fonts.
|
|
|
|
Cameron Dutro, Alexander Mankuta
|
|
|
|
* Files are closed sooner
|
|
|
|
Files were garbage collected but could stay open for longer than necessary.
|
|
|
|
Jon Burgess
|
|
|
|
* Long date time in the `head` table
|
|
|
|
The `created` and `modified` fields we parsed and encoded with incorrect
|
|
endiannes. Additionally helper methods were added to convert these fields to
|
|
and from Ruby `Time`.
|
|
|
|
Jens Kutilek, Peter Goldstein
|
|
|
|
* Removed execution permissions on non-executable files
|
|
|
|
Keenan Brock
|
|
|
|
### Changes
|
|
|
|
* Minimum Ruby is 2.7
|
|
|
|
Alexander Mankuta
|
|
|
|
* Performance improvement in subsets construction
|
|
|
|
Thomas Leitner
|
|
|
|
* CI improvememnts
|
|
|
|
Peter Goldstein
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jan 20 13:30:15 UTC 2021 - Stephan Kulow <coolo@suse.com>
|
|
|
|
updated to version 1.7.0
|
|
see installed CHANGELOG.md
|
|
|
|
## 1.7.0
|
|
|
|
### Changes
|
|
|
|
* Allow gem installation on Ruby 3.0
|
|
|
|
Pavel Lobashov
|
|
|
|
* Allow TTC files to be read from IO object
|
|
|
|
Tom de Grunt
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Sep 4 08:48:30 UTC 2020 - Petr Vorel <pvorel@suse.cz>
|
|
|
|
- Fix License (Ruby or GPL-2.0 or GPL-3.0)
|
|
|
|
-------------------------------------------------------------------
|
|
Thu May 7 21:37:21 UTC 2020 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to version 1.6.2.1
|
|
see installed CHANGELOG.md
|
|
|
|
## [1.6.2.1]
|
|
|
|
### Fixed
|
|
|
|
* 1.6.2 gem conains local debuging code. This is the same commit but without
|
|
local changes.
|
|
|
|
Alexander Mankuta
|
|
|
|
## [1.6.2]
|
|
|
|
### Fixed
|
|
|
|
* Reverted to pre 1.6 maxp table serialization.
|
|
|
|
Cameron Dutro
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Feb 10 15:58:37 UTC 2020 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to version 1.6.1
|
|
see installed CHANGELOG.md
|
|
|
|
## [1.6.1]
|
|
|
|
### Fixed
|
|
|
|
* Fixed maxp table encoding
|
|
|
|
Cameron Dutro
|
|
|
|
## [1.6.0]
|
|
|
|
### Added
|
|
|
|
* OpenType fonts support
|
|
|
|
* Added support for CFF-flavored fonts (also known as CID-keyed or OpenType fonts)
|
|
* Added support for the VORG and DSIG tables
|
|
* Improved charset encoding support
|
|
* Improved font metrics calculations in the head, maxp, hhea, hmtx, and os/2 tables
|
|
* Subsetted fonts verified with Font-Validator, fontlint, and Mac OS's Font Book
|
|
|
|
Cameron Dutro
|
|
|
|
* Ruby 2.6 support
|
|
|
|
Alexander Mankuta
|
|
|
|
* JRuby 9.2 support
|
|
|
|
Alexander Mankuta
|
|
|
|
### Removed
|
|
|
|
* Dropped Ruby 2.1 & 2.2 support
|
|
|
|
Alexander Mankuta
|
|
|
|
* Removed JRuby 9.1 support
|
|
|
|
Alexander Mankuta
|
|
|
|
### Fixed
|
|
|
|
* Sort name table entries when generating subset font
|
|
|
|
Matjaz Gregoric
|
|
|
|
* Map the 0xFFFF char code to glyph 0 in cmap format 4
|
|
|
|
Matjaz Gregoric
|
|
|
|
* Order tables by tag when generating font subset
|
|
|
|
Matjaz Gregoric
|
|
|
|
* Fix typo in TTFunk::Subset::Unicode#includes?
|
|
|
|
Matjaz Gregoric
|
|
|
|
* Fixe calculation of search_range for font subsets
|
|
|
|
Matjaz Gregoric
|
|
|
|
* Fixed instance variable @offset and @length not initialized
|
|
|
|
Katsuya HIDAKA
|
|
|
|
* Code style fixes
|
|
|
|
Katsuya HIDAKA, Matjaz Gregoric, Alexander Mankuta
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Apr 12 04:45:24 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to version 1.5.1
|
|
see installed CHANGELOG.md
|
|
|
|
## [1.5.1]
|
|
|
|
### Fixed
|
|
|
|
* loca table corruption during subsetting. The loca table serialization code
|
|
didn't properly detect suitable table format.
|
|
|
|
* Fixed checksum calculation for empty tables.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Feb 14 05:46:16 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to version 1.5.0
|
|
CHANGELOG removed upstream
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Feb 10 18:39:42 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to version 1.4.0
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Oct 13 18:50:26 UTC 2014 - coolo@suse.com
|
|
|
|
- adapt to new rubygem packaging
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jul 28 05:28:19 UTC 2014 - coolo@suse.com
|
|
|
|
- updated to version 1.2.0
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Mar 21 12:54:12 UTC 2014 - coolo@suse.com
|
|
|
|
- updated to version 1.1.1
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Feb 6 18:00:14 UTC 2014 - coolo@suse.com
|
|
|
|
- updated to version 1.1.0
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jul 30 19:23:05 UTC 2012 - coolo@suse.com
|
|
|
|
- initial package
|
|
|