https://bugzilla.redhat.com/show_bug.cgi?id=1753295

Arkadiusz Hiler <a...@hiler.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a...@hiler.eu



--- Comment #24 from Arkadiusz Hiler <a...@hiler.eu> ---
(In reply to Peng Wu from comment #4)
> I just tried with fonttosfnt recently, and it seems work now.
> 
> Here are the steps to make the OpenType Bitmap fonts.
> 
> 1. clone the fonttosfnt project from freedesktop;
> URL: https://gitlab.freedesktop.org/xorg/app/fonttosfnt
> 
> 2. apply three merge request in the upstream project;
> URL: https://gitlab.freedesktop.org/xorg/app/fonttosfnt/merge_requests
> from merge request !2 to !4.
> 
> 3. generate the regular and bold style of fonts;
> $./fonttosfnt -b -g 2 -m 2 -o terminusn.otb ../terminus-fonts/ter-*n.pcf.gz
> $./fonttosfnt -b -g 2 -m 2 -o terminusb.otb ../terminus-fonts/ter-*b.pcf.gz
> 
> 4. remove the terminus-fonts package and install the terminusn.otb and
> terminusn.otb fonts;
> 
> 5. re-login the desktop and use the "Terminus" font;

Or you can use fontforge which is already packaged in Fedora.

See what Arch is doing:
https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/terminus-font-otb

cat > otbconvert.pe <<EOF
#!/usr/bin/fontforge
i=1
while ( i<$argc )
  Open($argv[i])
  Generate($argv[i]:r + ".otb")
  i = i+1
endloop
EOF

otbconvert.pe *.bdf

for i in *.otb; do
    install -D -m0644 $i "$pkgdir/usr/share/fonts/misc/$i"
done

(In reply to Adam Williamson from comment #22)
> If we can change packages that currently provide bitmap fonts to provide
> them in some form that the new Pango can render - we'll probably want
> a bug against each individual package, perhaps with a tracker bug, probably 
> assigned to the Fonts SIG.

This sounds sensible - packaging the converted version. Who's up for some bug
filing? :-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org

Reply via email to