- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When modifying the very useful graphical routines at MVSDF98SamplesScigraph, I encountered in Sglowlvl.f90 the routine SETGTEXTVECTOR(1,0) ? rotate 90 deg clockwise. I can guess how it works, which is just as well, because it is not mentioned anywhere in the documentation, even now that I have upgraded to CVF 6.5A. The only information I can find is in the interfaces in DFLIB for it and the related GETGTEXTVECTOR. When are we going to be let in on the secret?
Neither SETGTEXTVECTOR nor SETTEXTROTATION would rotate Y-axis titles using the SANSSERIF Font ?MS Sans Serif?h24w12b, but would rotate Times New Roman ?Times New Roman?h26W13b. The error generated on failure was ?Generic Graphics Error? which was not very illuminating. Why do they succeed for some but not others ? are there any rules?
The Programmer?s Guide contains a minor error in Section 13 ? ?Using Fonts from the Graphics Library? p4 of 5 in saying ?SETGTEXTROTATION can set the text?s orientation in one-degree increments.? It should have said ?0.1-degree increments.?.
Bear of little brain
Neither SETGTEXTVECTOR nor SETTEXTROTATION would rotate Y-axis titles using the SANSSERIF Font ?MS Sans Serif?h24w12b, but would rotate Times New Roman ?Times New Roman?h26W13b. The error generated on failure was ?Generic Graphics Error? which was not very illuminating. Why do they succeed for some but not others ? are there any rules?
The Programmer?s Guide contains a minor error in Section 13 ? ?Using Fonts from the Graphics Library? p4 of 5 in saying ?SETGTEXTROTATION can set the text?s orientation in one-degree increments.? It should have said ?0.1-degree increments.?.
Bear of little brain
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It probably only works on TrueType or scalable fonts, and not on
raster fonts.
raster fonts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
jparsly,
Spot on! Many Thanks! A pity the documentation for SETGTEXTROTATION does not mention this for those like me who don?t think too hard about what sort of font it is. I am sending a message to vf-support on this and the other points that I raised.
Bear of little brain.
Spot on! Many Thanks! A pity the documentation for SETGTEXTROTATION does not mention this for those like me who don?t think too hard about what sort of font it is. I am sending a message to vf-support on this and the other points that I raised.
Bear of little brain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Doc's will be fixed for v6.6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I realize that this is a WinAPI thing, however, there is no good reason why image text cannot be very easily rotated in whole increments of 90 degrees. Even mainframe OS' applications can do that. They do only support incremental rotation (increments in non-multiples of 90 degrees) or scaling on vector symbol sets.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page