ttf-converter/ttf-converter.spec
Antonio Larrosa 1197240100 Accepting request 818035 from home:alarrosa:branches:M17N
- Update to version 1.0.6:
  * Standarize output when converting vector and bitmap fonts
  * Add more subfamilies fixes (boo#1169444)

- Update to version 1.0.5:
  * Add --family and --subfamily arguments to force values on those
    fields
  * Add parameters to fix glyph unicode values
    --fix-glyph-unicode : Try to fix unicode points and glyph names
      based on glyph names containing hexadecimal codes (like
      "$0C00", "char12345" or "uni004F")
    --replace-unicode-values: When passed 2 comma separated numbers
      a,b the glyph with an unicode value of a is replaced with the
      unicode value b. Can be used more than once.
    --shift-unicode-values: When passed 3 comma separated numbers
      a,b,c this shifts the unicode values of glyphs between a and b
      (both included) by adding c. Can be used more than once.
  * Add --bitmapTransform parameter to transform bitmap glyphs. When
    used, all glyphs are modified with the transformation function and
    values passed as parameters. The parameter has three values
    separated by commas: fliph|flipv|rotate90cw|rotate90ccw|
    rotate180|skew|transmove,xoff,yoff
    (boo#1169444)

- Update to version 1.0.4:
  * Add support to convert bitmap fonts (boo#1169444)
  * Rename MediumItalic subfamily to Medium Italic
  * Show some more information when removing duplicated glyphs

OBS-URL: https://build.opensuse.org/request/show/818035
OBS-URL: https://build.opensuse.org/package/show/M17N/ttf-converter?expand=0&rev=6
2020-07-01 06:51:13 +00:00

54 lines
1.5 KiB
RPMSpec

#
# spec file for package ttf-converter
#
# 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
# 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/
#
Name: ttf-converter
Version: 1.0.6
Release: 0
Summary: Python script that converts fonts to TrueType format
License: GPL-3.0-only
URL: https://github.com/antlarr-suse/ttf-converter
Source: ttf-converter-%{version}.tar.xz
BuildRequires: python3
Requires: fontforge
Requires: ftdump
Requires: python3-base
BuildArch: noarch
%description
A Python script that converts fonts to TrueType format. It uses
the fontforge python bindings to read/process and write any font
format. Also, as part of the conversion process, the script
tries to fix inconsistencies and do necessary changes to the font
to honor the TTF format specs.
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}%{_bindir}
cp ttf-converter %{buildroot}%{_bindir}
%files
%license LICENSE
%doc README.md
%{_bindir}/ttf-converter
%changelog