Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi [Rave Report] FontRotation Problem (https://www.delphipraxis.net/116688-%5Brave-report%5D-fontrotation-problem.html)

Andi1985 4. Jul 2008 11:36


[Rave Report] FontRotation Problem
 
Hallo,

ich habe folgendes Problem:

Ich gebe Text folgendermaßen aus:

Delphi-Quellcode:
with Sender as TBaseReport do
begin
  GotoXY(X, Y);
  Print('Ich bin normal');
end;
Ausgabe
Zitat:

- Ich bin normal
nun wollte ich das ganze mit Rotation (45°) realisieren:

Delphi-Quellcode:
with Sender as TBaseReport do
begin
  GotoXY(X, Y);
  FontRotation := 45;
  Print('Ich bin 45 Grad');

  GotoXY(X, Y);
  FontRotation := 0;
  Print('Ich bin normal');
end;
nun passiert es aber das der 45° Text normal ist und mein normaler Text bekommt ganz viele "Leerzeichen".

Ausgabe
Zitat:

- Ich bin 45 Grad
- Ich____________bin______________normal
Woran liegt das?
Geht die formatierung des Textes verloren?

LG,
Moggy

Andi1985 4. Jul 2008 12:11

Re: [Rave Report] FontRotation Problem
 
hat sich erledigt... es hatte was mit der Schriftart 'SYSTEM' zu tun, aber keine Ahnung was =)

Delphi-Quellcode:
SetFont(Sender, 'System', 10);


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:46 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz