On 04/25/2014 02:40 PM, Nicolas Mailhot wrote: > > 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 > OK, thanks for your quick answer. If I understood correctly, this one is correct: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <alias> <family>monolinear</family> <prefer> <family>Astloch</family> </prefer> </alias> <alias> <family>Astloch</family> <default> <family>monolinear</family> </default> </alias> </fontconfig> >> 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 OK, I am doing that now. > > Regards, > Regards, _______________________________________________ fonts mailing list fonts@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/fonts http://fonts.fedoraproject.org/