diff --git a/int10h-oldschoolpc-fonts.changes b/int10h-oldschoolpc-fonts.changes index 054d9e3..9beb90e 100644 --- a/int10h-oldschoolpc-fonts.changes +++ b/int10h-oldschoolpc-fonts.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Oct 29 11:37:28 UTC 2020 - Jan Engelhardt + +- Update to version 2.0 + * Added new variants: Ac (aspect corrected) and + Mx (Mixed outline + bitmap). + * New fonts (overview): AMI EGA, AST PremiumExec (quite like + VGA SquarePx), Acer-*, Apricot-*, Compaq Port3, DOS V, EpsonMGA, + EverexME (like EGA), IBM Model30, IBM PS/55, LE Model D, NEC APC3, Nix8810, + Olivetti M15/MX, Trident + * ToshibaLCD was renamed to ToshibaSat; a few other minor + renames. +- All pre-stretched fonts (both Ac or Px-2X/Px-2Y variants) were + moved to the -stretched subpackage. + ------------------------------------------------------------------- Tue Jan 22 23:14:06 UTC 2019 - Jan Engelhardt diff --git a/int10h-oldschoolpc-fonts.spec b/int10h-oldschoolpc-fonts.spec index 9480732..2504232 100644 --- a/int10h-oldschoolpc-fonts.spec +++ b/int10h-oldschoolpc-fonts.spec @@ -1,7 +1,7 @@ # # spec file for package int10h-oldschoolpc-fonts # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,32 +17,39 @@ Name: int10h-oldschoolpc-fonts -Version: 1.0 +Version: 2.0 Release: 0 Summary: Remakes of old computer hardware fonts License: CC-BY-SA-4.0 Group: System/X11/Fonts URL: http://int10h.org/oldschool-pc-fonts/ -Source: http://int10h.org/oldschool-pc-fonts/download/ultimate_oldschool_pc_font_pack_v1.0.zip +Source: https://int10h.org/oldschool-pc-fonts/download/oldschool_pc_font_pack_v2.0_ttf.zip Source8: ratio.txt BuildRequires: fontpackages-devel BuildRequires: unzip %reconfigure_fonts_prereq -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description -This fontpack contains remakes of various type styles -from text-mode era PCs — in modern Unicode-compatible TrueType form -(plus straight bitmap versions). The main focus is on hardware -character sets: the kind that's located in a ROM and shown by default -when working in text (or graphics) mode. +This fontpack contains remakes of various type styles from text-mode +era PCs — in modern Unicode-compatible TrueType form (plus straight +bitmap versions). The main focus is on hardware character sets: the +kind that's located in a ROM and shown by default when working in +text (or graphics) mode. [ Classic hardware text mode stretches the fonts to fit the screen! To recreate the same visuals of that, a stretch factor must be applied. For details, see ratio.txt inside the package. ] +%package stretched +Summary: Pre-stretched versions of int10h-oldschoolpc-fonts +Group: System/X11/Fonts + +%description stretched +This package contains aspect-corrected and non-corrected-but-stretched +variants of the main font files. + %prep %setup -Tcqa0 cp "%_sourcedir/ratio.txt" . @@ -54,13 +61,21 @@ mv LICENSE.TXT license.txt %install c="%buildroot/%_ttfontsdir" mkdir -p "$c" +rm -fv */Mx*.ttf install -pm 0644 */*.ttf "$c/" %reconfigure_fonts_scriptlets %files -%defattr(-, root,root) %doc readme.txt license.txt ratio.txt -%_ttfontsdir/ +%_ttfontsdir/Px* +%exclude %_ttfontsdir/*-2x.ttf +%exclude %_ttfontsdir/*-2y.ttf + +%files stretched +%dir %_ttfontsdir/ +%_ttfontsdir/Ac* +%_ttfontsdir/*-2x.ttf +%_ttfontsdir/*-2y.ttf %changelog diff --git a/oldschool_pc_font_pack_v2.0_ttf.zip b/oldschool_pc_font_pack_v2.0_ttf.zip new file mode 100644 index 0000000..aca26ce --- /dev/null +++ b/oldschool_pc_font_pack_v2.0_ttf.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c39482e07490aa0207d7bc21d070b0668157564f50b8bd9c445fc26290cb901 +size 9827846 diff --git a/ratio.txt b/ratio.txt index a5f3428..c9aee79 100644 --- a/ratio.txt +++ b/ratio.txt @@ -1,3 +1,6 @@ + +== Introduction == + In classic IBM PC text mode, the graphics card stretches the font such that it fills the screen. @@ -16,6 +19,9 @@ To faithfully recreate the same visual look as such a monitor would show, this aspect ratio needs to be applied when making use of the font. + +== Application support for stretching == + For cool-retro-term, there is a "Font Width" slider in the settings; set it to 74%, 83%, or whatever is necessary. (Notice the pattern of the "decimal" column of our table.) @@ -42,3 +48,45 @@ different size than the main characters. For a stretching matrix like 1/1.35, not specifying -fd and, as a result, having smaller CJK chars is not as bad a problem as having bigger truncated CJK chars with a compressing matrix like 0.74/1. + + +== Application-independent approach == + +Not all programs support specifying a matrix or a scaling factor. +Under systems using fontconfig (such as Linux distributions), +it is possible to override the stretch for an existing font +like so (~/.config/fontconfig/fonts.conf): + + + + + + + Px437 IBM VGA 9x16 + + + + matrix + + 0.73 + 0 + 0 + 1 + + + + + ~/.fonts + + + +== Framework-independent approach == + +The int10h project offers font files that have their aspect +correction applied at the font level. As a result, they won't need +support from fontconfig or applications at all. These font files are +provided in the + + int10h-oldschoolpc-fonts-stretched + +subpackage in openSUSE. diff --git a/ultimate_oldschool_pc_font_pack_v1.0.zip b/ultimate_oldschool_pc_font_pack_v1.0.zip deleted file mode 100644 index 8d253f5..0000000 --- a/ultimate_oldschool_pc_font_pack_v1.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7666cf23176e34ea03a218b5c1500f4ad729d97150ab7bdb7cf2adf4c99a9a7a -size 1533806