Package Details: ttf-bitstream-charter 1.0-5

Git Clone URL: https://aur.archlinux.org/ttf-bitstream-charter.git (read-only, click to copy)
Package Base: ttf-bitstream-charter
Description: A serif typeface designed by Matthew Carter for low resolution devices. Provides OTF, TTF and fontconfig configuration.
Upstream URL: https://practicaltypography.com/charter.html
Licenses: custom
Conflicts: otf-bitstream-charter
Submitter: dpflug
Maintainer: luxcem
Last Packager: luxcem
Votes: 6
Popularity: 0.033720
First Submitted: 2018-08-17 16:52 (UTC)
Last Updated: 2021-05-17 09:50 (UTC)

Latest Comments

cmounce commented on 2021-05-12 03:28 (UTC)

Not sure if this is the right venue to share patch files, but here's what worked for me (git am (patchfile)):

From 6a502230bccff2e4283ad23647a65df7ef0084f2 Mon Sep 17 00:00:00 2001
From: Chris Mounce <christophermounce@gmail.com>
Date: Tue, 11 May 2021 20:07:36 -0700
Subject: [PATCH] Update .zip URL, paths to font files in .zip


diff --git a/PKGBUILD b/PKGBUILD
index 86f83b0..d83d2ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,16 +10,16 @@ depends=("fontconfig")
 conflicts=("otf-bitstream-charter")
 url="https://practicaltypography.com/charter.html"
 license=("custom")
-source=("https://practicaltypography.com/fonts/Charter%20200512.zip" "${_conffile}")
-sha256sums=('39d1615e8b9c71f6e339c4d66f9cd1c6c5e85a63e201cb880f7691fa2d26d3a3'
+source=("https://practicaltypography.com/fonts/Charter%20210112.zip" "${_conffile}")
+sha256sums=('b40297f1a615f94594bdad0995848eb2223fb53ccb4ea197cabf24439bd811c9'
             '0de8093ecf7053865596d39fd1059f049abec480cf7488de366f1db6dc637cc8')

 package() {
   install -d "${pkgdir}"/usr/share/fonts/TTF
   install -d "${pkgdir}"/usr/share/fonts/OTF
-  install -Dm644 "${srcdir}/Charter/Charter/OpenType TT/"*.ttf "${pkgdir}"/usr/share/fonts/TTF
-  install -Dm644 "${srcdir}"/Charter/Charter/OpenType/*.otf "${pkgdir}"/usr/share/fonts/OTF
-  install -Dm644 "${srcdir}/Charter/Charter license.txt" "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
+  install -Dm644 "${srcdir}/Charter 210112/TTF format (best for Windows)/Charter/"*.ttf "${pkgdir}"/usr/share/fonts/TTF
+  install -Dm644 "${srcdir}/Charter 210112/OTF format (best for Mac OS)/Charter/"*.otf "${pkgdir}"/usr/share/fonts/OTF
+  install -Dm644 "${srcdir}/Charter 210112/Charter license.txt" "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE

   # Install fontconfig file
   install -d "$pkgdir"/etc/fonts/conf.avail
-- 
2.31.1

hollunder commented on 2021-04-03 21:22 (UTC)

Not only did the download URL change, the folder structure changed too and thus the install commands will need some adjustments.

chandra commented on 2021-02-03 19:34 (UTC)

New link is:

https://practicaltypography.com/fonts/Charter%20210112.zip

Could the maintainer amend the package, please.

dreieck commented on 2020-11-28 20:11 (UTC)

Download URL still gives error 404 "Not Found":

==> Retrieving sources...
  -> Downloading charter.zip...
--2020-11-28 21:10:04--  http://practicaltypography.com/fonts/charter.zip
Resolving practicaltypography.com (practicaltypography.com)... 198.199.109.238
Connecting to practicaltypography.com (practicaltypography.com)|198.199.109.238|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://practicaltypography.com/fonts/charter.zip [following]
--2020-11-28 21:10:05--  https://practicaltypography.com/fonts/charter.zip
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Connecting to practicaltypography.com (practicaltypography.com)|198.199.109.238|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-11-28 21:10:06 ERROR 404: Not Found.

==> ERROR: Failure while downloading http://practicaltypography.com/fonts/charter.zip
    Aborting...

Thanks for maintaining!

chandra commented on 2020-05-20 18:54 (UTC)

This seems to be the correct download link for ttf-bitstream-charter as the zip file contains three folders, one each for TTF, OTF, and WOFF:

https://practicaltypography.com/fonts/Charter%20200512.zip

[There is a space after Typography and before 200512.zip]

Kindly repackage.

Thanks.

chandra commented on 2020-05-20 18:35 (UTC)

http://practicaltypography.com/fonts/charter.zip

gives a

File not found (404) error.

I do not know if this is transient or permanent.

Installation fails accordingly.

luxcem commented on 2020-02-23 13:50 (UTC) (edited on 2020-02-23 13:50 (UTC) by luxcem)

I adopted this package updated the PKGBUILD and add a fontconfig file. A lot of website are using "Bitstream Charter" name for this font but the system name is just "Charter" so it's not working properly without the alias.

I also added the otf files as well. There is the otf-bitstream-charter package if you don't need the fontconfig file.