Download raw body.
[UPDATE] fonts/inter (3.19 -> 4.1)
Is there anything wrong with my contribution?
----- Begin forwarded message -----
From: "Alexander Rath" <alexander.rath@pm.me>
Date: Sat, 16 Nov 2024 18:11:08 +0000
To: ports@openbsd.org
Subject: [UPDATE] fonts/inter (3.19 -> 4.1)
Reply-To: "Alexander Rath" <alexander.rath@pm.me>
this patch updates inter to version 4.1.
it removes also the TTF files from the package and leaves only the OTF
files.
general advice for packaging fonts:
1.) please do include only one outline format of the same font style
per package. including (installing) the *.OTF AND the *.TTF file of the
same font may cause faulty behavior. you either want to use the *.OTF
or the *.TTF but not both at the same time.
2.) *.OTF uses adobe's CFF outline format which has a hinting system
that is future proof and thus superior to the hinting system of
TrueType: Hints in TrueType must be hand crafted seperately for every
single media type / display technology because all the intelligence is
contained in the font. High quality fonts from the 1990ies e.g. were
hinted manually for pixel perfect results on CRT monitors but later
when TFT monitors with subpixels were introduced the meaning of pixel
perfect changed. Some fonts were altered for the new type of monitors
(cf. Microsoft ClearType font collection), others were not. Contrary to
that, adobe's CFF uses hinting algorithms ("intelligence") in the
rasterizer(s) that can be adapted to new display technologies, printer
technologies etc. without changing the font files. The reason why
TTF-fonts were preferred historically is that adobe's highly optimized
CFF rasterizer was proprietary closed source and the open source
reverse-engineered rasterizer for CFF delivered inferior results. This
situation has been completely reversed in 2013 when adobe contributed
its CFF rasterizer to the FreeType-project. Since the integration of
the code was completed, rendering of OpenType CFF fonts is usually
superior to TrueType on all systems using FreeType (so virtually all
Unix-like OSes except from macOS which has its own rasterizer but also
Apple prefers now OTF CFF). (Besides that, many fonts are originally
drawn with cubic Bézier curves which are the native type of curves in
adobe's CFF outlines format. The respective TTF-files are in this case
generated through lossy conversion to quadratic Bézier curves and
remastered afterwards.)
ChangeLog:
v4.1:
* Fixes design of /Chekhakassiancyrillic & /chekhakassiancyrillic. #262
* Improved design of /section. #620
* Improved design of /drachma. #621
* Improved design of U+037B U+037D U+03FD U+03FF #622
* Fix misaligned horizontal bar of /Theta. #624
* Improvements to /published and /registered. #625
* New design of /finalkaf (LS digraph). #626
* Remove c2sc and smcp from aalt. #630
* Remove incomplete OpenType features c2sc and smcp. #630
* Fixes broken glyphs Cyrillic /uni04F6 /Ghestrokecyrillic and /uni04FA
in Italic. #636
* Fixes issue with 'frac' feature that put all number into exponent.
#639
* Adjust left sidebearings of /five. #641
* Refine positioning of /three.tf and /five.tf. #642
* More constrained calt .case subsitutions. #648
* Include hinted woff font files in distribution. #654
* Improvements to /idieresis et al. #657
* Loosen up kerning of tt and ff. #666
* Assign official codepoints to small-caps glyphs. #668
* Adjustments to glyphs with /hungarumlaut. #676
* Fixes design of /Tonesix & /tonesix. #680
* Improved design of /ordmasculine and /ordfeminine. #691
* New design of /Germandbls with old design available at /Germandbls.1
via cv14. #693
* Overhaul of many Cyrillic glyphs. #696
* Improvements to /Dbar1 and /Lbar. #698
* Fixes ss03 in italic. #711
* Adds /note-musical U+266A & /notedbl-musical U+266B. #723
* Add dlig exception for fffi et al. #732
* Fixes design of /obarredcyrillic U+04E9 and related composites. #743
* Adds /somsign U+20C0 "SOM SIGN" (Kyrgyzstan currency symbol). #747
* Add anchors to Epsilon1, epsilon1, Oopen, oopen #748
* Fix slant angle of /dieresiscomb.ss07 in italic 900 weights
* Improvements to fractions
* Lots of improved kerning data
* Remove unused glyphs /Idieresis.double & /idieresis.double
* Removes NxN -> N×N transformation in calt on popular request
* Slight reduction in positive kerning of ri
v4.0
This is a grand new release, with over two years of work behind it.
A lot has changed since version 3.x. Thousands of glyphs have been
redesigned.
Here are some highlights, compared to the previous version:
* Six additional "Display" designs, assigned to an opsz variable-font
axis, exposed as a second family "Inter Display" as static fonts.
* Several new OpenType features
* Humanist-style italics
* Many technical changes (UPM changed to 2048, refined metrics, many
improved features, etc)
Compatibility with version 3:
Even though the UPM (the font's coordinate system) has changed along
with metrics, I've done my best to make sure existing uses of Inter
version 3 will look as close to identical as possible for small text
sizes, in particular run length.
However you should expect to see noticeable differences when switching
to Inter version 4.
Cheers,
Alexander
Index: Makefile
===================================================================
RCS file: /cvs/ports/fonts/inter/Makefile,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 Makefile
--- Makefile 21 Sep 2023 15:28:05 -0000 1.12
+++ Makefile 16 Nov 2024 18:07:57 -0000
@@ -1,6 +1,6 @@
COMMENT = typeface carefully crafted & designed for computer
screens
-V = 3.19
+V = 4.1
DISTNAME = Inter-$V
PKGNAME = inter-$V
@@ -23,8 +23,7 @@ WRKDIST = ${WRKDIR}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/fonts/inter
- ${INSTALL_DATA} ${WRKSRC}/"Inter Desktop"/*.otf \
- ${WRKSRC}/"Inter Hinted for Windows"/Desktop/*.ttf \
+ ${INSTALL_DATA} ${WRKSRC}/extras/otf/*.otf \
${PREFIX}/share/fonts/inter
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/inter
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${PREFIX}/share/doc/inter
Index: distinfo
===================================================================
RCS file: /cvs/ports/fonts/inter/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo 30 Jun 2021 15:45:53 -0000 1.9
+++ distinfo 16 Nov 2024 18:07:33 -0000
@@ -1,2 +1,2 @@
-SHA256 (Inter-3.19.zip) = FQq2Iw0XYqV76/Nd/ATWBv+RWYox14X38QA1bs3MADI=
-SIZE (Inter-3.19.zip) = 22187206
+SHA256 (Inter-4.1.zip) = mIP91KSdT7Zr2Bd7pmJe+aZKpFiZdn3ePTaqQldWsR4=
+SIZE (Inter-4.1.zip) = 33707794
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/fonts/inter/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 PLIST
--- pkg/PLIST 11 Mar 2022 19:00:20 -0000 1.5
+++ pkg/PLIST 16 Nov 2024 18:21:33 -0000
@@ -3,38 +3,38 @@ share/doc/inter/LICENSE.txt
share/fonts/
@fontdir share/fonts/inter/
share/fonts/inter/Inter-Black.otf
-share/fonts/inter/Inter-Black.ttf
share/fonts/inter/Inter-BlackItalic.otf
-share/fonts/inter/Inter-BlackItalic.ttf
share/fonts/inter/Inter-Bold.otf
-share/fonts/inter/Inter-Bold.ttf
share/fonts/inter/Inter-BoldItalic.otf
-share/fonts/inter/Inter-BoldItalic.ttf
share/fonts/inter/Inter-ExtraBold.otf
-share/fonts/inter/Inter-ExtraBold.ttf
share/fonts/inter/Inter-ExtraBoldItalic.otf
-share/fonts/inter/Inter-ExtraBoldItalic.ttf
share/fonts/inter/Inter-ExtraLight.otf
-share/fonts/inter/Inter-ExtraLight.ttf
share/fonts/inter/Inter-ExtraLightItalic.otf
-share/fonts/inter/Inter-ExtraLightItalic.ttf
share/fonts/inter/Inter-Italic.otf
-share/fonts/inter/Inter-Italic.ttf
share/fonts/inter/Inter-Light.otf
-share/fonts/inter/Inter-Light.ttf
share/fonts/inter/Inter-LightItalic.otf
-share/fonts/inter/Inter-LightItalic.ttf
share/fonts/inter/Inter-Medium.otf
-share/fonts/inter/Inter-Medium.ttf
share/fonts/inter/Inter-MediumItalic.otf
-share/fonts/inter/Inter-MediumItalic.ttf
share/fonts/inter/Inter-Regular.otf
-share/fonts/inter/Inter-Regular.ttf
share/fonts/inter/Inter-SemiBold.otf
-share/fonts/inter/Inter-SemiBold.ttf
share/fonts/inter/Inter-SemiBoldItalic.otf
-share/fonts/inter/Inter-SemiBoldItalic.ttf
share/fonts/inter/Inter-Thin.otf
-share/fonts/inter/Inter-Thin.ttf
share/fonts/inter/Inter-ThinItalic.otf
-share/fonts/inter/Inter-ThinItalic.ttf
+share/fonts/inter/InterDisplay-Black.otf
+share/fonts/inter/InterDisplay-BlackItalic.otf
+share/fonts/inter/InterDisplay-Bold.otf
+share/fonts/inter/InterDisplay-BoldItalic.otf
+share/fonts/inter/InterDisplay-ExtraBold.otf
+share/fonts/inter/InterDisplay-ExtraBoldItalic.otf
+share/fonts/inter/InterDisplay-ExtraLight.otf
+share/fonts/inter/InterDisplay-ExtraLightItalic.otf
+share/fonts/inter/InterDisplay-Italic.otf
+share/fonts/inter/InterDisplay-Light.otf
+share/fonts/inter/InterDisplay-LightItalic.otf
+share/fonts/inter/InterDisplay-Medium.otf
+share/fonts/inter/InterDisplay-MediumItalic.otf
+share/fonts/inter/InterDisplay-Regular.otf
+share/fonts/inter/InterDisplay-SemiBold.otf
+share/fonts/inter/InterDisplay-SemiBoldItalic.otf
+share/fonts/inter/InterDisplay-Thin.otf
+share/fonts/inter/InterDisplay-ThinItalic.otf
[UPDATE] fonts/inter (3.19 -> 4.1)