Am 21.08.2017 13:56 schrieb "Michael Van Canneyt" :
>
>
>
> On Mon, 21 Aug 2017, Sven Barth via Lazarus wrote:
>
>> Am 21.08.2017 11:25 schrieb "Graeme Geldenhuys via Lazarus" <
>> lazarus@lists.lazarus-ide.org>:
>>>
>>>
>>> On 2017-08-21 10:18, Michael Van Canneyt wrote:
>
>
>
>
>
On 08/21/2017 05:49 AM, Graeme Geldenhuys via Lazarus wrote:
On 2017-08-21 10:35, Andreas Frieß via Lazarus wrote:
It is possible to use a standard font and give a warning instead of fire
an exception.
Eg. Font not found, using standardfont instead ?
I don't like that. First, how ar
On Mon, 21 Aug 2017, Andreas Frieß via Lazarus wrote:
Is is not better to call the standard fonts of the system in
TFPReportDesignerForm.FormCreate(Sender: TObject); ?
if gTTFontCache.SearchPath.Count=0 then
begin
gTTFontCache.SearchPath.Add(ExtractFilePath(ParamStr(0))+'../demos/fonts
Is is not better to call the standard fonts of the system in
TFPReportDesignerForm.FormCreate(Sender: TObject); ?
if gTTFontCache.SearchPath.Count=0 then
begin
gTTFontCache.SearchPath.Add(ExtractFilePath(ParamStr(0))+'../demos/fonts/');
gTTFontCache.SearchPath.Add(GetUserDir + '.fonts/
On Mon, 21 Aug 2017, Sven Barth via Lazarus wrote:
Am 21.08.2017 11:25 schrieb "Graeme Geldenhuys via Lazarus" <
lazarus@lists.lazarus-ide.org>:
On 2017-08-21 10:18, Michael Van Canneyt wrote:
/usr/local/share/fonts
/usr/local/lib/X11/fonts
fonts
Am 21.08.2017 11:25 schrieb "Graeme Geldenhuys via Lazarus" <
lazarus@lists.lazarus-ide.org>:
>
> On 2017-08-21 10:18, Michael Van Canneyt wrote:
>>>
>>>
>>>
>>> /usr/local/share/fonts
>>> /usr/local/lib/X11/fonts
>>> fonts
>>>
>>> ~/.fonts
>>
>> Should ind
At first this should for the visual part (Designer eg.)
And should for windows this not added ? Because in windows the fonts
should reside in %windir%\Fonts (see MS documentation)
function GetWinDirFonts: string;
var
dir: array [0..MAX_PATH] of Char;
begin
GetWindowsDirectory(dir
On 2017-08-21 10:47, Michael Van Canneyt via Lazarus wrote:
The problem is of course that you normally do not want this in a reporting
engine, where the looks are important.
Exactly! Some reports could be very dependent on a specific font and
font metrics for the layout (internal to fpReport a
On 2017-08-21 10:35, Andreas Frieß via Lazarus wrote:
It is possible to use a standard font and give a warning instead of fire
an exception.
Eg. Font not found, using standardfont instead ?
I don't like that. First, how are you going to display the warning?
Remember fpReport was des
On Mon, 21 Aug 2017, Andreas Frieß via Lazarus wrote:
It is possible to use a standard font and give a warning instead of fire
an exception.
Eg. Font not found, using standardfont instead ?
That is what I meant with introducing aliases.
The problem is of course that you normally
It is possible to use a standard font and give a warning instead of fire
an exception.
Eg. Font not found, using standardfont instead ?
Andreas
Am 21.08.2017 um 11:25 schrieb Graeme Geldenhuys via Lazarus:
On 2017-08-21 10:18, Michael Van Canneyt wrote:
/usr/local/share/font
On 2017-08-21 10:18, Michael Van Canneyt wrote:
/usr/local/share/fonts
/usr/local/lib/X11/fonts
fonts
~/.fonts
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 someb
On Mon, 21 Aug 2017, Graeme Geldenhuys via Lazarus wrote:
On 2017-08-21 09:54, Michael Van Canneyt via Lazarus wrote:
These problems will only occur if you're using non-standard fonts.
What if you wanted "self contained reports" eg like the demos in
fpReport where we use fonts that are not
On 2017-08-21 09:54, Michael Van Canneyt via Lazarus wrote:
These problems will only occur if you're using non-standard fonts.
What if you wanted "self contained reports" eg like the demos in
fpReport where we use fonts that are not available on all systems. eg:
Windows doesn't come standard
On Mon, 21 Aug 2017, Graeme Geldenhuys via Lazarus wrote:
On 2017-08-21 09:18, Michael Van Canneyt via Lazarus wrote:
The '../demos/fonts' and other hardcoded values are maybe not really
a good idea:)
For the life of me, I couldn't think of another solution. eg: you might
have a headless r
On 2017-08-21 09:18, Michael Van Canneyt via Lazarus wrote:
The '../demos/fonts' and other hardcoded values are maybe not really
a good idea:)
For the life of me, I couldn't think of another solution. eg: you might
have a headless reporting CGI app and needs to look for fonts in a
specific lo
On Mon, 21 Aug 2017, Andreas Frieß via Lazarus wrote:
I think there ara som issues with the fonts.
frmreportdesignermain.pp around line 395
if gTTFontCache.SearchPath.Count=0 then
begin
{$IFDEF UNIX}
gTTFontCache.SearchPath.Add(ExtractFilePath(ParamStr(0))+'../demos/fonts/');
gTTFo
I think there ara som issues with the fonts.
frmreportdesignermain.pp around line 395
if gTTFontCache.SearchPath.Count=0 then
begin
{$IFDEF UNIX}
gTTFontCache.SearchPath.Add(ExtractFilePath(ParamStr(0))+'../demos/fonts/');
gTTFontCache.SearchPath.Add(GetUserDir + '.fonts/');
gTT
18 matches
Mail list logo