[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapguide-internals
Subject:    Re: [mapguide-internals] font substitution question
From:       "Gabriele Monfardini" <gabrimonfa () gmail ! com>
Date:       2008-11-25 14:32:53
Message-ID: b28779190811250632r500eadc3jde149490bb4db7d4 () mail ! gmail ! com
[Download RAW message or body]

As an ugly workaround you can drop your preferred truetype font in the
folder, renaming it with the name of the missing one.

We, on Linux, simply copy in the dir some .ttf that are available in
the PC where the map was created (a Win box) but not on the server.

And it works.
This trick is useful also beacuse the available fonts, at least in
1.2, are barely usable.

Regards,

Gabriele


On Tue, Nov 25, 2008 at 15:07, Zac Spitzer <zac.spitzer@gmail.com> wrote:
> there is this bug i filed after a discussion a while back
>
> http://trac.osgeo.org/mapguide/ticket/532
>
> but's that's on linux...
>
> what I failed to mention in my previous email was that the problem was
> on windows
> and the font didn't exist on my machine. Rather than falling back on something
> generic like Arial, the labels simply weren't rendered at all
>
> z
>
> On Wed, Nov 26, 2008 at 12:59 AM, Gabriele Monfardini
> <gabrimonfa@gmail.com> wrote:
>> We've having some success dropping some .ttf in the directory where
>> the other fonts reside and using them (after restart of the
>> mg-server).
>>
>> In the config file there is some strange font substitutions
>> (substituted fonts seem to be in japanese).
>>
>> I'm using version 1.2
>>
>> Gabriele
>>
>>
>>
>> On Mon, Nov 24, 2008 at 07:10, Zac Spitzer <zac.spitzer@gmail.com> wrote:
>>> While i was organising a sample mgp for
>>> https://trac.osgeo.org/mapguide/ticket/774
>>>
>>> I hit the problem, that the sample used a font which didn't exist on
>>> my workstation
>>>
>>> I thought mapguide fell back to default fonts when it couldn't find a
>>> specified custom one?
>>>
>>> z
>>>
>>> --
>>> Zac Spitzer -
>>> http://zacster.blogspot.com
>>> http://ennoble.dreamhosters.com/mapguide-central/
>>> +61 405 847 168
>>> _______________________________________________
>>> mapguide-internals mailing list
>>> mapguide-internals@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>>
>> _______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
>
>
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com
> +61 405 847 168
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
_______________________________________________
mapguide-internals mailing list
mapguide-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic