<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Hiroshi,<br>
<br>
Your patch makes changes in scpainterex_cairo.cpp which assumes the
availability of freetype font backend in cairo. This is not correct
and won't work on Windows. Also i think a better approach would be
to create a new print engine class (scprintengine_cairo.*) so as to
preserve cmyk output capabilities in the postscript based print
engine.<br>
<br>
Jean<br>
<br>
Le 12/02/2012 14:56, 中本浩 a écrit :
<blockquote
cite="mid:CA+wLA+f5RCFpZmeKPnNQqB_KS8ng7RxD-LV+LtR1Y6R0=KEbiw@mail.gmail.com"
type="cite">
<pre wrap="">I actually made cairo pdf printing work in Utunbu 11.10 and Mac.
Just input a file name with .pdf extension in printing dialog and print.
Though not deeply tested, both Japanese and Roman fonts get embedded
and text search works!
As it is a counterpart of Windows GDI printing, high-end features like
color separation or ps passthrough are not required.
Here I attach a patch for:
fonts/ftface.h
fonts/ftface.cpp
fonts/scface.h
fonts/scface.cpp
scpageoutput.cpp
scpainterex_cairo.cpp
scpainterex_cairo.h
scpainterexbase.cpp
scpainterexbase.h
scprintengine_ps.cpp
Also, scpainterex_cairo.cpp must be added to CMakeLists.txt.
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
scribus-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:scribus-dev@lists.scribus.net">scribus-dev@lists.scribus.net</a>
<a class="moz-txt-link-freetext" href="http://lists.scribus.net/mailman/listinfo/scribus-dev">http://lists.scribus.net/mailman/listinfo/scribus-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>