saja-cascadia-code-fonts/saja-cascadia-code-fonts.spec
Ismail Dönmez 16ba70517b - Update to version 2008.25
* We've temporarily stopped shipping variable OTFs due to some
    concerns about overlapping and psautohint
  * The heaviest weight of Cascadia has been made a little lighter
  * We have aligned the Powerline glyphs and the box-/line-drawing
    glyphs better to their metrics and to the letter glyphs
  * Diacritic anchors have been added to all alphabetic characters (#282, #330)
  * The font now ships with decomposed fi and fl ligatures
  * The horn combining diacritic has had its weight fixed somewhat for Bold
  * Primes have been redesigned to give them a more "angled" feel (#294)
  * Acute and grave have been given additional weight to help
    differentiate them from dot (#268)
  * The contextual alternate for x used to signify hexadecimal
    numbers has been disabled (#285)

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/saja-cascadia-code-fonts?expand=0&rev=8
2020-08-27 07:02:12 +00:00

59 lines
1.7 KiB
RPMSpec

#
# spec file for package saja-cascadia-code-fonts
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019 Xu Zhao (i@xuzhao.net).
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define fontname cascadia-code
Name: saja-cascadia-code-fonts
Version: 2008.25
Release: 0
Summary: Monospace terminal fonts from Microsoft
License: OFL-1.1
Group: System/X11/Fonts
URL: https://github.com/microsoft/cascadia-code
Source0: https://github.com/microsoft/cascadia-code/releases/download/v%{version}/CascadiaCode-%{version}.zip
Source1: LICENSE.txt
Source2: OFL-FAQ.txt
BuildRequires: fontpackages-devel
BuildRequires: unzip
BuildArch: noarch
%reconfigure_fonts_prereq
%description
Cascadia Code is a monospaced font that was designed also with Visual Studio / Visual Studio Code in mind.
%prep
%setup -q -n otf
cp %{SOURCE1} .
cp %{SOURCE2} .
%build
%install
mkdir -p %{buildroot}%{_ttfontsdir}/
install -m 0644 static/*.otf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets
%files
%dir %{_ttfontsdir}/
%{_ttfontsdir}/*
%license OFL-FAQ.txt LICENSE.txt
%changelog