<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I merged a few modifications to simplify font components, adapted from solaris-userland (thanks for that!).<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">For an example of TrueType font you can look at<br><br><a href="https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/fonts/google-droid/Makefile">https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/fonts/google-droid/Makefile</a><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">In most case I boils down to specifying:<br><br>- COMPONENT_FONT_NAME = name of the font in the fmri and install path (if different than COMPONENT_NAME)<br>- COMPONENT_FONT_SRC_DIR = relative path to the font directory within the source tree<br>- COMPONENT_FONT_FILES      += *.ttf (add all files to copy to usr/share/fonts)<br>- COMPONENT_FONTCONF_SRC_DIR =  relative path to the font configuration directory within the source tree, set it to empty if none<br>- COMPONENT_FONTCONF_FILES = font configuration files, set it to empty if none<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Kind regards,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Aurélien<br clear="all"></div><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div></div></div></div>