<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2923</bug_id>
          
          <creation_ts>2012-08-09 09:28:24 +0000</creation_ts>
          <short_desc>Create font class</short_desc>
          <delta_ts>2013-03-20 12:30:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23910</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-08-09 09:28:24 +0000</bug_when>
    <thetext>There should be a font class that registers a trigger to run fc-cache.

At the moment this isn&apos;t a real problem as we only ship a very limited number of fonts, but if someone ships more then the fc-cache generation will be replicated for no reason.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28081</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2012-12-07 13:43:41 +0000</bug_when>
    <thetext>If this is referring to rootfs install time then wouldn&apos;t the recent postinstall improvements solve this issue? All there&apos;s needed is create an intercept script that will run at the end. The only problem remaining is running fc-cache on host as this is architecture dependent...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28083</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-12-07 14:52:21 +0000</bug_when>
    <thetext>Yeah, the motivation was repeated fc-cache calls.  As the fontconfig caches are archicture dependent (!!) then a class that sets up an intercept to call fc-cache is the best that we can do.

(a class so that it&apos;s the one true way of handling font installation)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29568</commentid>
    <comment_count>3</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-02-06 10:06:50 +0000</bug_when>
    <thetext>Created fontcache.bbclass. Patch merged:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c31bf6514bdda951b315f16aa640f9d46232c060</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30891</commentid>
    <comment_count>4</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-03-20 11:52:51 +0000</bug_when>
    <thetext>Hello,

Can you please give us some more info on how to test this? I see the new class added but I don&apos;t see where it&apos;s used in.

I see it used in meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb for example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30892</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-03-20 11:54:31 +0000</bug_when>
    <thetext>I think verifying that the file was integrated and is used by a recipe is all you can do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30893</commentid>
    <comment_count>6</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-03-20 12:30:32 +0000</bug_when>
    <thetext>fontcache.bbclass is used by meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb which is pulled into core-image-sato-sdk. 

In master:4da406cd50cf02a63ed76810a670aba1eb561c79 core-image-sato-sdk built correctly for all qemu targets.

Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>