On 2023-08-06 17:23 -04, Morgan Aldridge <morg...@makkintosshu.com> wrote:
> On Sun, Aug 6, 2023 at 4:46 PM Edd Barrett <e...@theunixzoo.co.uk> wrote:
>
>> On Sun, Aug 06, 2023 at 09:40:18PM +0100, Edd Barrett wrote:
>> > Hi,
>> >
>> > On Sun, Aug 06, 2023 at 05:02:59PM +0200, Florian Obser wrote:
>> > > I recently discovered the iosevka font and I like the Fixed Slab
>> variant
>> > > best.
>> >
>> > First, can I check that "fixed slab" is correct and not just "slab".
>>
>> Arch has a "slab" package, but not a "fixed slab" package:
>> https://archlinux.org/packages/?q=ttc-iosevka
>>
>> Same for fedora:
>> https://copr.fedorainfracloud.org/coprs/peterwu/iosevka/packages/
>>
>> Same for FreeBSD:
>> https://cgit.freebsd.org/ports/tree/x11-fonts/iosevka/Makefile
>>
>> So is slab and fixed-slab the same thing, or?
>>

No, as Morgan explained:

>
> I haven't tested yet, but according to the Iosevka website <
> https://typeof.net/Iosevka/>:
>
> "Terminal emulators have stricter compatibility requirements for fonts.
> Therefore, Iosevka and Iosevka Slab all contain two specialized families,
> Term and Fixed, targeting terminal users.
>
> In these families, the symbols will be narrower to follow terminals’
> ideology of column count. In the Fixed families, the ligation will be
> disabled to ensure better compatibility in certain environments."
>
> So, it might be preferable for this to install both the "term" & "fixed"
> families of Iosevka Slab. Doing so would probably necessitate renaming the
> package to "iosevka-slab" though.

I have no need for ligatures, that's why I went with fixed.

I'm not sure what FreeBSD packages precisely but I suspect it's the
non-fixed / non-term variant.

https://typeof.net/Iosevka/ has a nice overview table about 10% down on
the page.

Upstream currently has 458 assets listed, it's all over the place.

The way the port is currently setup these would all be different ports:

iosevka-slab
iosevka-fixed
iosevka-fixed-slab
iosevka-term
iosevka-term-fixed

I did one port, because that's the one I need.

>
> Morgan

Fixed comment and description:

commit a2587e7df8a07f2a307c74d83c9dcf2c2623b25e
Author: Florian Obser <flor...@narrans.de>
Date:   Sun Aug 6 16:56:36 2023 +0200

    update to 26.0.1

diff --git Makefile.inc Makefile.inc
index e02a6f941a9..3358c967f4e 100644
--- Makefile.inc
+++ Makefile.inc
@@ -1,4 +1,4 @@
-V =            19.0.1
+V =            26.0.1
 CATEGORIES =   fonts x11
 HOMEPAGE =     https://github.com/be5invis/Iosevka
 MAINTAINER =   Edd Barrett <e...@openbsd.org>
diff --git default/distinfo default/distinfo
index ce9fb8e38ca..48224555407 100644
--- default/distinfo
+++ default/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ttc-iosevka-19.0.1.zip) = dQ2QR33PZ/PBZ7Eu/7YApnCPA+LmJMw4Z00MyeIb5kA=
-SIZE (ttc-iosevka-19.0.1.zip) = 75570917
+SHA256 (ttc-iosevka-26.0.1.zip) = 3h7aeMHkbsTRbbarNkcHT9Ej/o9E9s8XPCb2rdFRImc=
+SIZE (ttc-iosevka-26.0.1.zip) = 97568862

commit ea86fdbae98f91347d0409f377ccf060cd88c597
Author: Florian Obser <flor...@narrans.de>
Date:   Sun Aug 6 16:59:14 2023 +0200

    fixed slab variant

diff --git Makefile Makefile
index ac190583d83..b4550370196 100644
--- Makefile
+++ Makefile
@@ -14,5 +14,6 @@
 
 SUBDIR =
 SUBDIR += default
+SUBDIR += fixed-slab
 
 .include <bsd.port.subdir.mk>
diff --git fixed-slab/Makefile fixed-slab/Makefile
new file mode 100644
index 00000000000..b61982a38b9
--- /dev/null
+++ fixed-slab/Makefile
@@ -0,0 +1,9 @@
+COMMENT =              slender typeface for code (fixed slab variant)
+PKGNAME =              iosevka-fixed-slab-${V}
+DISTFILES =            ttc-sgr-iosevka-fixed-slab-${V}${EXTRACT_SUFX}
+
+do-install:
+       ${INSTALL_DATA_DIR} ${FONTDIR}
+       ${INSTALL_DATA} ${WRKDIST}/*.ttc ${FONTDIR}
+
+.include <bsd.port.mk>
diff --git fixed-slab/distinfo fixed-slab/distinfo
new file mode 100644
index 00000000000..405a598b40a
--- /dev/null
+++ fixed-slab/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ttc-sgr-iosevka-fixed-slab-26.0.1.zip) = 
cqEnSt1I3xyacxTjZUCEmo8M7KFw7MudTY7D7D5UnQM=
+SIZE (ttc-sgr-iosevka-fixed-slab-26.0.1.zip) = 93695504
diff --git fixed-slab/pkg/DESCR fixed-slab/pkg/DESCR
new file mode 100644
index 00000000000..38c61002954
--- /dev/null
+++ fixed-slab/pkg/DESCR
@@ -0,0 +1,3 @@
+Coders' typeface, built from code.
+
+This package is for the fixed slab variant.
diff --git fixed-slab/pkg/PLIST fixed-slab/pkg/PLIST
new file mode 100644
index 00000000000..d0073b0c22f
--- /dev/null
+++ fixed-slab/pkg/PLIST
@@ -0,0 +1,11 @@
+share/fonts/
+@fontdir share/fonts/iosevka/
+share/fonts/iosevka/sgr-iosevka-fixed-slab-bold.ttc
+share/fonts/iosevka/sgr-iosevka-fixed-slab-extrabold.ttc
+share/fonts/iosevka/sgr-iosevka-fixed-slab-extralight.ttc
+share/fonts/iosevka/sgr-iosevka-fixed-slab-heavy.ttc
+share/fonts/iosevka/sgr-iosevka-fixed-slab-light.ttc
+share/fonts/iosevka/sgr-iosevka-fixed-slab-medium.ttc
+share/fonts/iosevka/sgr-iosevka-fixed-slab-regular.ttc
+share/fonts/iosevka/sgr-iosevka-fixed-slab-semibold.ttc
+share/fonts/iosevka/sgr-iosevka-fixed-slab-thin.ttc


-- 
In my defence, I have been left unsupervised.

Reply via email to