热门标签 | HotTags
当前位置:  开发笔记 > 开发工具 > 正文

UltraEdit编辑器下有些特殊字符显示方框?

为什么某些特殊字符在UE下显示方框,而在Windows记事本下却显示正常?为什么将记事本的字体设置为英文字体(如Wingdings字体)后,中文依然显示正常?字体对话框的“脚本”选项,是什么意思?感
为什么某些特殊字符在UE下显示方框,而在Windows记事本下却显示正常?
为什么将记事本的字体设置为英文字体(如Wingdings字体)后,中文依然显示正常?
字体对话框的“脚本”选项,是什么意思?

感谢CSDN的大神们回答这三个问题,非常感谢,非常感谢!
    if (hFile != INVALID_HANDLE_VALUE) {
        DWORD dwWritten;
        WriteFile (hFile, &bmfh, sizeof (BITMAPFILEHEADER), &dwWritten, NULL);
        WriteFile (hFile, pbmi, sizeof (BITMAPINFOHEADER) + sizeof (RGBQUAD) * 2, &dwWritten, NULL);
        WriteFile (hFile, pvBits, pbmi->bmiHeader.biSizeImage, &dwWritten, NULL);

        CloseHandle (hFile);
    }

    DeleteObject (hFont);
    DeleteObject (hBitmap);
    DeleteDC (hDC);
    LocalFree (pbmi);

    return 0;
}

CreateFont
The CreateFont function creates a logical font that has specific characteristics. The logical font can subsequently be selected as the font for any device. 

HFONT CreateFont(
  int nHeight,             // logical height of font
  int nWidth,              // logical average character width
  int nEscapement,         // angle of escapement
  int nOrientation,        // base-line orientation angle
  int fnWeight,            // font weight
  DWORD fdwItalic,         // italic attribute flag
  DWORD fdwUnderline,      // underline attribute flag
  DWORD fdwStrikeOut,      // strikeout attribute flag
  DWORD fdwCharSet,        // character set identifier
  DWORD fdwOutputPrecision,  // output precision
  DWORD fdwClipPrecision,  // clipping precision
  DWORD fdwQuality,        // output quality
  DWORD fdwPitchAndFamily,  // pitch and family
  LPCTSTR lpszFace         // pointer to typeface name string
);
 

#7


引用 6 楼 zhao4zhong1 的回复:

谢谢,正是我所要的,我一定会花时间好好的看的。

推荐阅读
author-avatar
JasonXie
这个家伙很懒,什么也没留下!
Tags | 热门标签
RankList | 热门文章
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有