[Lazarus] fpReport -> Lazarus reportdsg.lpr

Sven Barth pascaldragon at googlemail.com
Mon Aug 21 17:20:35 CEST 2017


Am 21.08.2017 13:56 schrieb "Michael Van Canneyt" <michael at freepascal.org>:
>
>
>
> On Mon, 21 Aug 2017, Sven Barth via Lazarus wrote:
>
>> Am 21.08.2017 11:25 schrieb "Graeme Geldenhuys via Lazarus" <
>> lazarus at lists.lazarus-ide.org>:
>>>
>>>
>>> On 2017-08-21 10:18, Michael Van Canneyt wrote:
>>>>>
>>>>>
>>>>> <!-- Font directory list -->
>>>>>
>>>>>         <dir>/usr/local/share/fonts</dir>
>>>>>         <dir>/usr/local/lib/X11/fonts</dir>
>>>>>         <dir prefix="xdg">fonts</dir>
>>>>>         <!-- the following element will be removed in the future -->
>>>>>         <dir>~/.fonts</dir>
>>>>
>>>>
>>>> Should indeed be easy to parse and handle...
>>>
>>>
>>>
>>> I'll make it so. I guess the best option would be to add it as an option
>>
>> API call, so if somebody wants it, simply call
>> <fpttf>.AddStandardFontPaths(). For those that don't want those font
paths,
>> simply do nothing.
>>
>> Why not dynamically load the fontconfig library and ask that instead of
>> manually parsing its config file?
>
>
>
> Because I didn't know such a library existed :)

Ah, in that case: fontconfig is the default library to deal with font
configuration on the Open Source *nix systems (Linux, FreeBSD, etc.).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170821/9fb9dc96/attachment-0001.html>


More information about the Lazarus mailing list