--- bedstead-002.009.orig/debian/changelog +++ bedstead-002.009/debian/changelog @@ -0,0 +1,5 @@ +bedstead (002.009-1) unstable; urgency=medium + + * Initial release. Closes: #1084211. + + -- Ben Harris Sun, 20 Oct 2024 00:32:09 +0100 --- bedstead-002.009.orig/debian/control +++ bedstead-002.009/debian/control @@ -0,0 +1,29 @@ +Source: bedstead +Maintainer: Ben Harris +Section: non-free/fonts +Priority: optional +Build-Depends: fontforge-nox, ghostscript, debhelper-compat (= 13) +Standards-Version: 4.7.0 +Homepage: https://bjh21.me.uk/bedstead/ +XS-Autobuild: yes + +Package: fonts-bedstead +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends} +Description: monospaced fonts inspired by SAA5050 character generator + Bedstead is a family of angular monospaced fonts based on the + characters produced by the Mullard SAA5050 series of Teletext + Character Generators as used in the BBC Microcomputer. The SAA5050 + fonts were bitmaps, but Bedstead extends its smoothing algorithm to + continuity, producing something suitable for modern high-resolution + displays. + . + Bedstead includes all the character designs from the SAA5050 and its + various sister chips, including Cyrillic and Hebrew alphabets. It + also has a large number of custom-designed glyphs, all of them of + following the same design rules as the originals. + . + This package contains the OpenType font files for Bedstead in two + weights (medium and bold) and six widths (ultra condensed, extra + condensed, condensed, semi condensed, normal, and extended). --- bedstead-002.009.orig/debian/copyright +++ bedstead-002.009/debian/copyright @@ -0,0 +1,56 @@ +This package was Debianised by Ben Harris in 2024. + +The upstream sources for Bedstead were obtained from +. The upstream source tarball is +constructed from Git rather than from the upstream Zip file. + +This explanation of Bedstead's copyright situation comes from +bedstead.c: + +/* + * Many of the character bitmaps below formed the typeface embodied in + * the SAA5050 series of character-generator chips originally made and + * sold by British company Mullard in the early 1980s. Copyright in the + * typeface will still be owned by Mullard's corporate successors, but + * under section 55 of the Copyright Designs and Patents Act 1988 that + * copyright is no longer infringed by the production or use of + * articles specifically designed or adapted for producing material in + * that typeface. + * + * The rest of the glyphs, and all of the code in this file, were + * written by Ben Harris , Simon Tatham + * , and Marnanel Thurman + * between 2009 and 2024. + * + * To the extent possible under law, Ben Harris, Simon Tatham, and + * Marnanel Thurman have dedicated all copyright and related and + * neighboring rights to this software and the embodied typeface to + * the public domain worldwide. This software and typeface are + * distributed without any warranty. + * + * You should have received a copy of the CC0 Public Domain Dedication + * along with this software. If not, see + * . + */ + +A copy of the CC0 Public Domain Dedication is available on Debian +systems in /usr/share/common-licenses/CC0-1.0 + +The file "editor.py" is by Simon Tatham and released into the public +domain under the CC0 Public Domain Dedication. + +The remaining source files are by Ben Harris and released into the +public domain under the CC0 Public Domain Dedication. + +More information about the source files is available in the HACKING +file. + +The Debian packaging of Bedstead is similarly released into the public +domain under the CC0 Public Domain Dedication. + +Bedstead is not part of Debian because it is not entirely free. While +there are no restrictions on the distribution and use of the typefaces +as typefaces, the original SAA5050 character designs are still under +copyright as artistic works in the United Kingdom and use of them +other than by making and using typefaces might infringe that +copyright. --- bedstead-002.009.orig/debian/docs +++ bedstead-002.009/debian/docs @@ -0,0 +1,3 @@ +CONTRIBUTING +NEWS +bedstead-complement.pdf --- bedstead-002.009.orig/debian/install +++ bedstead-002.009/debian/install @@ -0,0 +1 @@ +*.otf /usr/share/fonts/opentype/bedstead --- bedstead-002.009.orig/debian/rules +++ bedstead-002.009/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_compress: + dh_compress -X.pdf --- bedstead-002.009.orig/debian/source/format +++ bedstead-002.009/debian/source/format @@ -0,0 +1 @@ +1.0 --- bedstead-002.009.orig/debian/tests/control +++ bedstead-002.009/debian/tests/control @@ -0,0 +1,6 @@ +Tests: fc-list +Depends: @, fontconfig +Restrictions: superficial + +Tests: rom +Depends: @, ghostscript --- bedstead-002.009.orig/debian/tests/fc-list +++ bedstead-002.009/debian/tests/fc-list @@ -0,0 +1,38 @@ +#! /bin/bash + +# Check that Fontconfig can find all of the Bedstead fonts that should +# be installed. This doesn't check the precise output of fc-list +# because the test system might contain additional fonts that match +# "Bedstead". + +set -euo pipefail + +cd -- "${AUTOPKGTEST_TMP}" + +sort >expected <actual + +echo "fc-list output:" +cat actual + +comm -13 actual expected >missing + +if [ -s missing ]; then + echo "Missing from fc-list output:" + cat missing + exit 1 +fi --- bedstead-002.009.orig/debian/tests/rom +++ bedstead-002.009/debian/tests/rom @@ -0,0 +1,27 @@ +#! /bin/bash + +# Known-answer tests for Bedstead. rom.ps is meant to reproduce the +# SAA505x character ROM images, so its output should be invariant in +# the absence of bugs. The hashes here are not derived from real ROM +# images, but from Bedstead 002.009, which is believed to be correct. + +set -euo pipefail + +for i in 0 1 2 3 4 5 6 7; do + gs -I/usr/share/fonts/opentype/bedstead \ + -P -q -dSAFER -sDEVICE=bit -o "${AUTOPKGTEST_TMP}/saa505${i}.rom" \ + -- rom.ps "SAA505${i}" +done + +cd -- "${AUTOPKGTEST_TMP}" +[ -n "${AUTOPKGTEST_ARTIFACTS-}" ] && cp -- *.rom "${AUTOPKGTEST_ARTIFACTS}" +sha256sum -c <