DWF

Reply
Contributor
janderssen
Posts: 19
Registered: ‎11-25-2008
Message 1 of 4 (127 Views)

WT_Font_Option_Flags flags

127 Views, 3 Replies
09-06-2009 05:05 PM
Hi all,

I have a drawing that has the options set to a value of 0x00002000. I was wondering what this value means as the Toolkit documentaion states the following : "Font option representing a set of option flags. RESERVED. "

The reason I ask this is if I do not rotate the text in my rendering engine, the text appears correct if this value is set. This is really a kind of hack as I cannot find what this flag means, and if it even has any relivance to text rotation/orientation etc.

Every other drawing I have never sets this flag at all, so this does seem to indicate some kind of relivance to my issue, but was hoping for a more formal explanation so I dont have to assume magic numbers.

Cheers
Jason Anderssen
Employee
SilviaCao
Posts: 136
Registered: ‎06-07-2009
Message 2 of 4 (127 Views)

Re: WT_Font_Option_Flags flags

09-13-2009 06:20 PM in reply to: janderssen
Thank you for your question.

0x00002000 means the path text. Path text are drawn using the bounding box method, thus the text rotation will be set to 0.

Moreover, 0x00004000 will also cause the rotation setting to 0.

Please let me know if you have any further questions.

Silvia


Silvia Cao
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Contributor
janderssen
Posts: 19
Registered: ‎11-25-2008
Message 3 of 4 (127 Views)

Re: WT_Font_Option_Flags flags

09-20-2009 05:33 PM in reply to: janderssen
Thank you Silvia,

Just a quick question, is there anywhere I can get these defined values, and what the meaning is for all of them ?

Cheers and thanx in advance
Jason
Employee
SilviaCao
Posts: 136
Registered: ‎06-07-2009
Message 4 of 4 (127 Views)

Re: WT_Font_Option_Flags flags

09-23-2009 11:01 PM in reply to: janderssen

Thank you for your questions.
You can find the definition for these values in the "set Font" part of "Whip2D" specification which you can find in released package of DWFToolkit.

Please let me know if you have any further questions.
Silvia



Silvia Cao
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.