如何基于原有的字体产生新的字体

Skeleton 2003-06-16 05:07:58
比如我在打印的时候需要打印各种方向的文字
所以我想产生一种逻辑字体
其他都和宋体一样
只不过是旋转了一定的角度
如何能实现呢?
...全文
123 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Skeleton 2003-06-17
  • 打赏
  • 举报
回复
多谢啦!
试验的过程中遇到一点问题
在form、Picturebox上都可以
用printer对象就不行了
后来还是在microsoft的knowledge base找到了答案
如果装过vs97的sp2或者更高版本
就不能直接用printer.hdc,而是要把printer.hdc保存到一个变量里面
原因如下
Print and not referencing the printer object directly while setting up the font and printing with it. If you use TextOut with "Printer.hDC" instead of a local variable, it will fail. Any reference to a printer object property or method is a use of the printer object and will cause the printer object to reset its font/pen/brush. Therefore, the values of all printer object properties that you need to use with the new font/pen/brush must be saved into variables before using SelectObject, and then only use the variables.
victorycyz 2003-06-16
  • 打赏
  • 举报
回复
看看专家的答案:
http://www.zealsoftstudio.com/articles/rotfont.htm

1,486

社区成员

发帖
与我相关
我的任务
社区描述
VB API
社区管理员
  • API
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧