Felipe Monteiro de Carvalho schrieb:
Alexander Klenin <kle...@gmail.com> wrote:
Meanwhile, font support is also needed.

  TvText = class
  public
    X, Y, Z: Double; // Z is ignored in 2D formats
    Value: utf8string;
-----------------------------
    FontColor: TvColor;
    FontSize: integer;
    FontName: utf8string;
  end;

What else do you need in the font support?

Is this a mix of both a font declaration and usage?
IMO metafiles contain different instructions for these.

Did you also notice that metafile fonts are managed by the metafile, i.e. the (GDI) objects must never be destroyed in explicit code?

DoDi


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to