Re: Fontconfig questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Ven 25 avril 2014 13:49, Julien Enselme a écrit :
> Hi,
>
> While packaging SimpleCV (#1070946), we found some included fonts that
> are not yet available in Fedora. I am now on the process of packaging
> them. I am currently focussing on Astloch font. Here is the fontconfig
> file I created for review. I am not sure about the prefix. I guess that
> 61 is OK.
>
> Bugzilla ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1081782
> Filename: 61-astloch-fonts.conf

You need to map the font twice to the generic name. The first so
fontconfig knows it can complete the font with the generic, the second to
tell fonctonfig it can use the font to build the generic

https://git.fedorahosted.org/cgit/fontpackages.git/tree/fontconfig-templates/basic-font-template.conf

The prefix choice only matters for the second mapping. If you choose a
prefix which is too low your font will be used in monospace before other
more mainstream fonts.

Beware that monolinear does not mean monospace. A monospace font uses the
same width for all letters

> I also guess that I must create a wiki page about the font but I haven't
> found any particular instructions in the wiki. Maybe a copy/paste +
> adaptation of an existing page is OK?

Yes, cut and paste is IT's duct tape

Regards,

-- 
Nicolas Mailhot

_______________________________________________
fonts mailing list
fonts@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/fonts
http://fonts.fedoraproject.org/





[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux