commit int10h-oldschoolpc-fonts for openSUSE:Factory
Hello community, here is the log from the commit of package int10h-oldschoolpc-fonts for openSUSE:Factory checked in at 2020-11-04 18:27:34 Comparing /work/SRC/openSUSE:Factory/int10h-oldschoolpc-fonts (Old) and /work/SRC/openSUSE:Factory/.int10h-oldschoolpc-fonts.new.11331 (New) Package is "int10h-oldschoolpc-fonts" Wed Nov 4 18:27:34 2020 rev:4 rq:845909 version:2.1 Changes: --- /work/SRC/openSUSE:Factory/int10h-oldschoolpc-fonts/int10h-oldschoolpc-fonts.changes 2020-10-30 11:48:04.405728884 +0100 +++ /work/SRC/openSUSE:Factory/.int10h-oldschoolpc-fonts.new.11331/int10h-oldschoolpc-fonts.changes 2020-11-04 18:32:24.156146337 +0100 @@ -1,0 +2,15 @@ +Tue Nov 3 11:11:23 UTC 2020 - Jan Engelhardt + +- Update to release 2.1 + * New fonts: Acer 710 Mono, HP 100LX, Olivetti MS-DOS, Sanyo +MBC-55x, Sanyo MBC-775, Sharp PC-3000, TeleVideo Tele-PC, CL +Eagle II, CL Eagle III, CL Stingray, InteGraphics VGA, +PhoenixVGA, Sigma Designs RealMagic, STB AutoEGA, early +Trident/TVGA8800CS, Tseng EVA-480 ET2000, Various/ACM VGA, +Acorn BBC Master 512, Atari Portfolio, Philips :YES G-2x, +Texas Instruments PC/PPC, Wang Professional Computer. + * Removed Olivetti MxVGA: superseded by CL Stingray. +- Switched to the Mx437/MxPlus variant font files and made + Px437/PxPlus a fontconfig-level alias for compatibility. + +--- @@ -4 +19 @@ -- Update to version 2.0 +- Update to release 2.0 @@ -7,4 +22,5 @@ - * 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 + * New fonts (overview): AMI EGA, 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. + * VGA SquarePx was renamed to AST PremiumExec. Old: oldschool_pc_font_pack_v2.0_ttf.zip New: oldschool_pc_font_pack_v2.1_FULL.zip Other differences: -- ++ int10h-oldschoolpc-fonts.spec ++ --- /var/tmp/diff_new_pack.0XM9US/_old 2020-11-04 18:32:25.164144102 +0100 +++ /var/tmp/diff_new_pack.0XM9US/_new 2020-11-04 18:32:25.168144094 +0100 @@ -17,16 +17,17 @@ Name: int10h-oldschoolpc-fonts -Version:2.0 +Version:2.1 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: https://int10h.org/oldschool-pc-fonts/download/oldschool_pc_font_pack_v2.0_ttf.zip +Source: https://int10h.org/oldschool-pc-fonts/download/oldschool_pc_font_pack_v2.1_FULL.zip Source8:ratio.txt BuildRequires: fontpackages-devel +BuildRequires: lcdf-typetools BuildRequires: unzip %reconfigure_fonts_prereq BuildArch: noarch @@ -45,6 +46,9 @@ %package stretched Summary:Pre-stretched versions of int10h-oldschoolpc-fonts Group: System/X11/Fonts +Conflicts: %name < %version +Conflicts: %name > %version +%reconfigure_fonts_prereq %description stretched This package contains aspect-corrected and non-corrected-but-stretched @@ -59,23 +63,55 @@ mv LICENSE.TXT license.txt %install -c="%buildroot/%_ttfontsdir" -mkdir -p "$c" -rm -fv */Mx*.ttf -install -pm 0644 */*.ttf "$c/" +mkdir mxs +mv */Mx*-2[xy]*.ttf mxs/ + +c="%buildroot/%_sharedir/fontconfig/conf.avail" +tt="%buildroot/%_ttfontsdir" +mkdir -p "$c" "$tt" + +genalias() +{ + echo "" + echo '" + echo "" + for i in "$@"; do + mx="$(otfinfo -i "$i" | perl -lne 'if(/^Family:\s*(.*)/){$_=$1;s{&}{}g;print}')" + px="Px${mx:2}" + echo "$px$mx" + done + echo "" +} + +genalias mxs/Mx*.ttf >31-int10h-stretch-alias.conf +mv mxs/*.ttf "$tt/" +genalias */Mx*.ttf >31-int10h-alias.conf +mv */Ac*.ttf */Mx*.ttf "$tt/" +%install_fontsconf 31-int10h-alias.conf +%install_fontsconf 31-int10h-stretch-alias.conf %reconfigure_fonts_scriptlets +%reconfigure_fonts_scriptlets -n %name-stretched %files -%doc readme.txt license.txt ratio.txt -%_ttfontsdir/Px* +%license license.txt +%doc readme.txt ratio.txt +%_ttfontsdir/Mx* %exclude %_ttfontsdir/*-2x.ttf %exclude %_ttfontsdir/*-2y.ttf +%dir %_sysconfdir/fonts +%dir %_sysconfdir/fonts/conf.d +%files_fontsconf_availdir +%files_fontsconf_file -l 31-int10h-alias.conf %files stretched %dir %_ttfontsdir/ %_ttfontsdir/Ac* -%_ttfontsdir/*-2x.ttf -%_ttfontsdir/*-2y.ttf +%_ttfontsdir/Mx*-2x.ttf +%_ttfontsdir/Mx*-2y.ttf +%dir %_sysconfdir/fonts
commit int10h-oldschoolpc-fonts for openSUSE:Factory
Hello community, here is the log from the commit of package int10h-oldschoolpc-fonts for openSUSE:Factory checked in at 2020-10-30 11:47:49 Comparing /work/SRC/openSUSE:Factory/int10h-oldschoolpc-fonts (Old) and /work/SRC/openSUSE:Factory/.int10h-oldschoolpc-fonts.new.3463 (New) Package is "int10h-oldschoolpc-fonts" Fri Oct 30 11:47:49 2020 rev:3 rq:844872 version:2.0 Changes: --- /work/SRC/openSUSE:Factory/int10h-oldschoolpc-fonts/int10h-oldschoolpc-fonts.changes 2019-01-24 14:14:48.415265988 +0100 +++ /work/SRC/openSUSE:Factory/.int10h-oldschoolpc-fonts.new.3463/int10h-oldschoolpc-fonts.changes 2020-10-30 11:48:04.405728884 +0100 @@ -1,0 +2,15 @@ +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. + +--- Old: ultimate_oldschool_pc_font_pack_v1.0.zip New: oldschool_pc_font_pack_v2.0_ttf.zip Other differences: -- ++ int10h-oldschoolpc-fonts.spec ++ --- /var/tmp/diff_new_pack.5MFqdL/_old 2020-10-30 11:48:05.401729765 +0100 +++ /var/tmp/diff_new_pack.5MFqdL/_new 2020-10-30 11:48:05.401729765 +0100 @@ -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 @@ %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 ++ ratio.txt ++ --- /var/tmp/diff_new_pack.5MFqdL/_old 2020-10-30 11:48:05.461729819 +0100 +++ /var/tmp/diff_new_pack.5MFqdL/_new 2020-10-30 11:48:05.461729819 +0100 @@ -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 @@ 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"
commit int10h-oldschoolpc-fonts for openSUSE:Factory
Hello community, here is the log from the commit of package int10h-oldschoolpc-fonts for openSUSE:Factory checked in at 2019-01-24 14:14:46 Comparing /work/SRC/openSUSE:Factory/int10h-oldschoolpc-fonts (Old) and /work/SRC/openSUSE:Factory/.int10h-oldschoolpc-fonts.new.28833 (New) Package is "int10h-oldschoolpc-fonts" Thu Jan 24 14:14:46 2019 rev:2 rq:667895 version:1.0 Changes: --- /work/SRC/openSUSE:Factory/int10h-oldschoolpc-fonts/int10h-oldschoolpc-fonts.changes 2016-12-02 16:41:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.int10h-oldschoolpc-fonts.new.28833/int10h-oldschoolpc-fonts.changes 2019-01-24 14:14:48.415265988 +0100 @@ -1,0 +2,6 @@ +Tue Jan 22 23:14:06 UTC 2019 - Jan Engelhardt + +- Expand font scaling notes and separate out to extra file + (there is a lot to talk about). + +--- New: ratio.txt Other differences: -- ++ int10h-oldschoolpc-fonts.spec ++ --- /var/tmp/diff_new_pack.9u7pxJ/_old 2019-01-24 14:14:48.827265512 +0100 +++ /var/tmp/diff_new_pack.9u7pxJ/_new 2019-01-24 14:14:48.827265512 +0100 @@ -1,7 +1,7 @@ # # spec file for package int10h-oldschoolpc-fonts # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,9 +22,10 @@ Summary:Remakes of old computer hardware fonts License:CC-BY-SA-4.0 Group: System/X11/Fonts -Url:http://int10h.org/oldschool-pc-fonts/ +URL:http://int10h.org/oldschool-pc-fonts/ Source: http://int10h.org/oldschool-pc-fonts/download/ultimate_oldschool_pc_font_pack_v1.0.zip +Source8:ratio.txt BuildRequires: fontpackages-devel BuildRequires: unzip %reconfigure_fonts_prereq @@ -32,18 +33,19 @@ BuildArch: noarch %description -This fontpack contains pixel-accurate remakes of various type styles +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. -[These fonts are not corrected for the different pixel ratios used by -the eponymous historic hardware; you need to manually do this with e.g. -`xterm -fa "ATI 8x16:matrix=1 0 0 1.35"`] +[ 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. ] %prep %setup -Tcqa0 +cp "%_sourcedir/ratio.txt" . %build iconv -f cp437 -t utf-8 readme.txt @@ -58,7 +60,7 @@ %files %defattr(-, root,root) -%doc readme.txt license.txt +%doc readme.txt license.txt ratio.txt %_ttfontsdir/ %changelog ++ ratio.txt ++ In classic IBM PC text mode, the graphics card stretches the font such that it fills the screen. A 9x16 font over 80x25 columns is displayed as a 720x400 image. Assuming a 4:3 monitor as typically was present in the days, this leads to a pixel aspect ratio of 20:27. Font size Image size aspect decimal inverse 8x8 640x200 5:12 0.42 2.40 8x14 640x35035:48 0.73 1.37 8x16 640x400 5:6 0.83 1.20 9x16 720x40020:27 0.74 1.35 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. 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.) For xterm, a fontconfig matrix can be specified like so: xterm -fa "Px437 ATI 9x16:matrix=0.74 0 0 1" xterm -fa "Px437 ATI 9x16:matrix=1 0 0 1.35" One can either horizontally compress the glyphs, or vertically stretch them to get to the result. The compress/stretch action influences how many characters will be visible in a fullscreen setting, so the basic font size may need to be adjusted. xterm -fa "Px437 ATI 9x16:size=32:matrix=0.74 0 0 1" xterm -fa "Px437 ATI 9x16:size=24:matrix=1 0 0