ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 SetObjFont unicode problem
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Marius

Netherlands
21 Posts

Posted - Aug 23 2012 :  05:39:33  Show Profile  Reply
I'm using Imageen 4.1.0 / Delphi XE and when i'm using ImageEn.SetObjFont(obj, FontDialog1.Font) the name of the font (Verdana) becomes 1 character long (V), it look like a ordinary unicode problem. Internally imageen uses a TLogFontA record. Is this correct or i'm i overlooking something / doing something wrong?

The current workaround is:
ImageEn.ObjFontName[obj] := Ansistring(FontDialog1.Font.Name);
ImageEn.ObjFontHeight[obj] := FontDialog1.Font.Height;
ImageEn.ObjFontStyles[obj] := FontDialog1.Font.Style;

Regards,
Marius

fab

1310 Posts

Posted - Aug 27 2012 :  00:40:03  Show Profile  Reply
Thank you! This bug will be fixed in next minor release.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: