You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/05/16 12:43:50 UTC

[Bug 122324] New: SVG with embedded fonts shows wrong kerning, character-distances, character rendering

https://issues.apache.org/ooo/show_bug.cgi?id=122324

            Bug ID: 122324
        Issue Type: DEFECT
           Summary: SVG with embedded fonts shows wrong kerning,
                    character-distances, character rendering
    Classification: Application
           Product: Draw
           Version: AOO400-dev
          Hardware: All
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: open-import
          Assignee: issues@openoffice.apache.org
          Reporter: rainerbielefeld_ooo_qa@bielefeldundbuss.de
                CC: issues@openoffice.apache.org

Created attachment 80695
  --> https://issues.apache.org/ooo/attachment.cgi?id=80695&action=edit
Test Kit

Steps how to reproduce Reproducible with server installation of  "AOO 4.0.0-Dev
– English UI / German locale [AOO400m1(Build:9700) - Rev. 1482523 Rev.1482259
(2013-05-15)]" on WIN7 Home Premium (64bit)", own separate user profile:

0. Download / Unzip attached test kits, contains 
   * source odg (same as in Attachment 80602 for Bug 122183)    
   * Sample_with_embedded_fonts.svg, similar to export in above mentioned att.
   * Sample_WITHOUT_embedded_fonts.svg Created due to Bug 122183#C6

1. Open all 3 Documents with AOO
   Expected: Text looks very similar, perfect Text as in source.
   Actual: Sample_WITHOUT_embedded_fonts.svg with satisfying result
           but Sample_with_embedded_fonts.svg very ugly text viewing, wrong
           horizontal distances between characters (first Courier New text
           in word "formatting "m" and "a" even overlap)
           Courier New does look 
           Characters "Arial" look similar to Arial, but are not! For example,
           compare "a" in the documents. In source it looks as it should look
           <http://en.wikipedia.org/wiki/Arial>,
           but in Sample_with_embedded_fonts.svg it looks completely wrong

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122324] [SVG] Implement FontEmbedding

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122324

--- Comment #6 from SVN Robot <sv...@dev.null.org> ---
"alg" committed SVN revision 1483396 into trunk:
i122324 detect own re-import of EmbeddedFonts and correct font name

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 122324] SVG with embedded fonts shows wrong kerning, character-distances, character rendering

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122324

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Armin.Le.Grand@me.com

--- Comment #2 from Armin Le Grand <Ar...@me.com> ---
ALG: When the SVG contains embedded fonts the rendering is indeed bad, that's
because SVG up to now does not support import of embedded fonts.
When breaking the imported SVG the embedded fonts get created (need to check
how this happens) and all looks good.
Thus, the problem concentrates on imported SVGs containing embedded fonts which
are not broken into draw objects.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122324] SVG with embedded fonts shows wrong kerning, character-distances, character rendering

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122324

--- Comment #1 from rainerbielefeld <ra...@bielefeldundbuss.de> ---
Please feel free to divide this one into separate bugs if further research
shows that it contains bugs with different roots.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122324] [SVG] Implement FontEmbedding

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122324

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
         Issue Type|DEFECT                      |ENHANCEMENT
            Summary|SVG with embedded fonts     |[SVG] Implement
                   |shows wrong kerning,        |FontEmbedding
                   |character-distances,        |
                   |character rendering         |
     Ever confirmed|0                           |1

--- Comment #4 from Armin Le Grand <Ar...@me.com> ---
ALG: After some experimentation and debugging I made the ultimate test: I
copied some svg:d statements from our exported FontEmbedding to a draw ODF
file. This made clear that we export the correct outlines and the correct
distances (tspan), but indeed IE and Inkscape do *not* import SVG's embedded
fonts.
Thus - all is correct in our export, proved now.

To our import: My SVG import currently does not import FontEmbeddings, this is
a missing feature. It does then render that strings with the font "Arial
embedded" and "Courier New embedded" with what it thinks matches best. When
breaking these objects to SdrObjects somehow the matching again finds the
needed fonts (without the 'embedded' ending).

Thus I set this to enhancement and adapt the title accordingly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 122324] [SVG] Implement FontEmbedding

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122324

--- Comment #5 from Armin Le Grand <Ar...@me.com> ---
ALG: One quick thing that can be done for next version: If FontFamily ends with
' embedded' it can be detected as re-import of own SVG export and be removed,
that will make the font matching work. This is not really dangerous since no
fonts ending with this string are known to me.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 122324] SVG with embedded fonts shows wrong kerning, character-distances, character rendering

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122324

rainerbielefeld <ra...@bielefeldundbuss.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.apache.org/o
                   |                            |oo/show_bug.cgi?id=122183

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122324] SVG with embedded fonts shows wrong kerning, character-distances, character rendering

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122324

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|issues@openoffice.apache.or |Armin.Le.Grand@me.com
                   |g                           |

--- Comment #3 from Armin Le Grand <Ar...@me.com> ---
ALG: Grepping

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.