Bug 284694 - Support for embedded fonts is missing.
Summary: Support for embedded fonts is missing.
Status: RESOLVED FIXED
Alias: None
Product: calligracommon
Classification: Applications
Component: text-layout (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 11:46 UTC by Jos van den Oever
Modified: 2011-11-16 12:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
file with embedded font (4.00 KB, application/vnd.oasis.opendocument.text)
2011-10-22 11:46 UTC, Jos van den Oever
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jos van den Oever 2011-10-22 11:46:56 UTC
Created attachment 64787 [details]
file with embedded font

Version:           unspecified (using Devel) 
OS:                Linux

ODF specification allows for embedded fonts since version 1.0.
The relevant specifications are:
  http://docs.oasis-open.org/office/v1.0/OpenDocument-v1.0-os.pdf "14.6 Font Face Declaration"
  http://www.w3.org/TR/2003/REC-SVG11-20030114/fonts.html#FontFaceElement
  http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#referencing



Reproducible: Didn't try

Steps to Reproduce:
Load the attached example. In includes an embedded font that contains only black blocks.
Comment 1 Jos van den Oever 2011-10-22 11:47:36 UTC
  <office:font-face-decls>
    <!-- in this example, font matching is bypassed by using style:name -->
    <style:font-face style:name="myfont" svg:font-family="'AHEM'">
      <svg:font-face-src>
        <svg:font-face-uri xlink:href="AHEM____.TTF">
          <svg:font-face-format svg:string="truetype"/>
        </svg:font-face-uri>
      </svg:font-face-src>
    </style:font-face>
  </office:font-face-decls>
  <office:styles>
    <style:style style:name="embeddedfont" style:family="paragraph">
      <style:text-properties style:font-name="myfont" fo:font-size="12pt" style:letter-kerning="true" fo:color="#000000"/>
    </style:style>
  </office:styles>