The news about the mac is reassuring, thanks.

So far I've swapped out the alias for Numbus Sans L for FreeSans in
/etc/fonts/conf.avail/30-metric-aliases.conf: fonts-config; fc-cache;
placed the following in my fop config xml
                <font  kerning="yes" embed-url="FreeSans.ttf">
                    <font-triplet name="Helvetica" style="normal"
weight="normal"/>
                </font>
                <font  kerning="yes" embed-url="FreeSansBold.ttf">
                    <font-triplet name="Helvetica" style="normal"
weight="bold"/>
                </font>

but this has been a dead end.

I think I've mentioned that  replacing
                <svg:text font-family="Helvetica" font-style="normal"
font-weight="normal"
                          font-size="10pt" text-anchor="end" x="-35"
y="25">
with
                <svg:text
font-family="-monotype-arial-medium-o-normal--0-0-0-0-p-0-microsoft-cp1252"
                         font-size="10pt" text-anchor="end" x="-35" y="25">
gets me good output so I'll go with that even though it generates a huge
stacktrace with each call to print.


Thanks to all,

rjs



On 06/30/2011 03:09 PM, Andreas L. Delmelle wrote:
> On 30 Jun 2011, at 22:56, Rob Sargent wrote:
>
>>> Did you follow the link Vincent posted in Bugzilla? IIC, that explains 
>>> exactly what the core issue is, and shows what needs to be done to work 
>>> around it. Obviously, that would mean your FOP config is not portable 
>>> across all platforms, but that seems justifiable.
>>>
>> <snip />
>> However, I don't follow your last point on a justifiable non-portable
>> config.  
> I meant that a config file will, almost by definition, be tied to the local 
> system/platform that FOP runs on. In a way, it is precisely meant to make 
> sure that environment-specific stuff can be 'configured' with relative ease.
>
>> Luckily there is only one Linux box that I need to do this
>> correctly so I'm willing to tweak that config file by hand if it comes
>> to that.  That machine is responsible for the final pdf for the
>> publishers. I'm not sure what the mac users are seeing, but the Windows
>> users are doing fine with the call for "Helvetica".
> Just so you know: the minimized sample Mehdi attached to the bug report 
> renders fine on OS X without custom config.
>
>
> Regards
>
> Andreas
> ---
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to