![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工作琐事
文章平均质量分 63
xiaorui0328
患得患失
展开
-
TTC 和 TTF 的解释和区别。
TTCTrueType Collection file. A scheme where multiple TrueType fonts can be stored in a single file, typically used when only a subset of glyphs changes among different designs. Theyre used in Japan翻译 2007-06-26 14:01:00 · 8430 阅读 · 0 评论 -
C++中的Link error:LNK2001产生的原因
学习VC++时经常会遇到链接错误LNK2001,该错误非常讨厌,因为对于编程者来说,最好改的错误莫过于编译错误,而一般说来发生连接错误时,编译都已通过。产生连接错误的原因非常多,尤其LNK2001错误,常常使人不明其所以然。如果不深入地学习和理解VC++,要想改正连接错误LNK2001非常困难。 初学者在学习VC++的过程中,遇到的LNK2001错误的错误消息主要为: unresolved e转载 2007-06-28 10:21:00 · 760 阅读 · 0 评论 -
RGB颜色与BGR颜色的转换问题
今天在解决一个bug的时候发现颜色始终对不上,调试……,发现问题,API得到的是BGR颜色,我要把他转换成RGB颜色。先说名一下BGR颜色,像素的显示格式分为4种:PAL_RGB, PAL_BGR, PAL_MASKED, PAL_INDEXED,PAL_RGB: 他的类型是unsigned long, 格式 0x00BBGGRR, 他和PALETTEENTRY结构是一样的。PAL原创 2007-08-17 14:31:00 · 5845 阅读 · 1 评论 -
CreateFontPackage and MergeFontPackage return value.(CreateFontPackage 和 MergeFontPackage函数的错误返回值含义)
Insertion of an adendum to the intro to font embedding I was talking about Font embedding -- the intro a little while back. And several people have taken me up on my offer for the header file. So翻译 2007-06-12 08:59:00 · 1407 阅读 · 0 评论 -
VS2003升级到VS2005的error LNK2005
序:项目中遇到的一个问题,工程从VS2003平台升级到VS2005平台。以前一切正常的工程在VS2005下面出现了大量的error LNK2005,下面讲述解决办法。LIBCMT.lib(calloc.obj) : error LNK2005: _calloc already defined in winalloc.objLIBCMT.lib(realloc.obj) : error LNK2原创 2007-11-08 10:10:00 · 814 阅读 · 0 评论 -
Surviving the Release Version(release版本和debug版本的区别,帮助你解决只有在release版本中出现的bug)
序:时常会遇到一些这样的bug,在release版本中有,在debug版本中却重现不了,跟踪没有头绪,找到造成这种问题的原因是关键。在网上发现了Joseph M. Newcomer. 的这篇文章,帮助很大,引过来给大家当作参考。 IntroductionOK, your program works. Youve tested everything in sight. Its t转载 2007-11-08 09:38:00 · 951 阅读 · 0 评论