<html>
  <body>
  
    <span class="xfm_2375994873">
    <p>Thanks for your response.</p>
    <div>It's not a browser issue, I'm investigating the SVG file itself and it only has images, not text parts.</div>
    <div>I thought there should be some font issues, but can't find information what packages to install or anything else to do with that?</div>
    <div>
      <br/></div>
    <div>Basically poppler lib sees text from pdf file, but when doing "poppler_page_render_for_printing(page, drawcontext)" I get only images, not a text. </div>
    <div><br/><br/><div style="font-size: 0.9em; font-style: italic;"> --- Исходное сообщение ---<br/> От кого: "suzuki toshiya" <<a href="mailto:mpsuzuki@hiroshima-u.ac.jp" target="_self">mpsuzuki@hiroshima-u.ac.jp</a>><br/>  Дата: 20 января 2014, 01:54:45<br/></div> <br/><blockquote class="xfmc0" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><pre>Ahhh, maybe I found it. The background would be something like...

* Many PDF include embedded fonts which they are not installed into the system natively.
* Therefore, for truthful rendering onto SVG surface, searching "compatible font" from
the natiely installed font in the rendering system would not be good idea. On the other
hand, using the embedded font would be better.
* SVG has SVG font feature that SVG document could show the text by the font embedded in SVG.
* However, some web browsers (e.g. Firefox) do not support SVG font.
* As a result, the embedded font is (unfortunately) included as a collection of the reusable
graphics in SVG, and the text is shown as a serie of the graphics.

Regards,
mpsuzuki


On 01/20/2014 08:41 AM, suzuki toshiya wrote:
> Which browser do you use to display SVG data?

> # I think this question could be inappropriate in
> # cairo mailing list, but please let me continue
> # the discussion in here, until I find appropriate
> # list or forum to talk about...

> Regards,
> mpsuzuki

> On 01/20/2014 12:07 AM, Denis Kuzmenok wrote:
>> Hi there.
>>
>>
>> I have installed these versions:
>> Cairo 1.12.2
>> Poppler 0.24.5
>> librsvg 2.26.1
>> pdf2svg 0.2.2
>>
>> Cairo uses Freetype and Fontconfig as font backends. I tried with different PDF files.
>> pdftotext or pdftohtml shows text from pdf file, but if running with pdf2svg - output SVG file has only text as images (no text, only images in svg output file).
>> Is that the way it should work? I thought svg should output SVG with almost the same formatting, sizes and placement?
>>
>> Any suggestions?
>>
>>


</pre></blockquote>   </div>
  </span>
  
<img src="http://freemail.ukr.net/api/public/message_read?a=kqmgrtlVOU2r3JW_e502BHagZNI5Hs_vV1NOebjDJB6ueihI2cvb0-Bmn7qPV3jxw2JnTLSf4bPBjvg0bqNotajW-g5oSmaTBqUGXNu94Q==" alt="" />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </body>
</html>