[changeset] print.m (matlab compatibility)
Ben Abbott
bpabbott at mac.com
Tue Mar 10 21:12:54 CDT 2009
On Mar 11, 2009, at 1:44 AM, Michael Goffioul wrote:
> On Tue, Mar 10, 2009 at 5:30 PM, Shai Ayal <shaiay at gmail.com> wrote:
>> On Tue, Mar 10, 2009 at 6:15 PM, John W. Eaton <jwe at octave.org>
>> wrote:
>>> On 10-Mar-2009, Daniel J Sebald wrote:
>>>
>>> | What Octave should probably be doing behind the scenes is mapping
>>> | all names to equivalent names which are system dependent. For
>>> | example, "Helvetica" would get mapped to "Helvetica" on Windows,
>>> | "NimbusSansL" on unix. (Actually, it should probably be mapped to
>>> | "NimbusSansL" in both cases since that font is GPL.)
>>>
>>> So again, every application that needs to do something like this
>>> should implement its own solution? Is there no library that handles
>>> these issues?
>>
>> perhaps fontconfig
>> http://fontconfig.org/wiki/
>> is what we need, although It's linux-specific so another solution
>> will
>> have to be devised for OSX/Windows
>
> FontConfig works also under Windows. It's included in the precompiled
> binaries for windows. I didn't test it, though. But I think it's
> functional.
>
> Michael.
It is available on OSX as well. There is a version bundled with X11,
with other versions available from Fink and DarwinPorts.
I'm able to get a list of all TrueType fonts by ...
$ fc-list : file | grep '.ttf'
Does this work on windows as well?
Ben
More information about the Octave-maintainers
mailing list