作者rocet (rocet)
看板PCman
标题Re: [问题] pcman 的 IE字型
时间Mon Feb 5 12:57:13 2007
※ 引述《neosnow (临流问月水随风)》之铭言:
: 作业系统: winxp sp2 + IE 7.0
: PCMAN 版本: 档名是 pcman.combo.20070204.cole945 的这个
: 使用的输入法:新酷音 (应该是最新版)
: 问题描述: 我习惯在IE选项中设定不使用预设字型 後自己套用诸如华康俪黑体
: 等等的字型 这在旧版的 2004 COMBO 中工作很正常 在IE中也显示
: 如我所设定一般的字型 但是使用了新版本之後,字型变成了预设的
: 新细明体 虽然是不影响使用 但是我还是想要知道如何解决 烦请
: 各位解惑 感激不尽!
看了一下 可能是 Combo\CustSite.cpp 里面
CCustomControlSite::XDocHostUIHandler::GetHostInfo 中
pInfo->dwFlags 设了 DOCHOSTUIFLAG_CODEPAGELINKEDFONTS 的关系
不知道H大是不是这次整理时才加上的
拿掉之後就会以设定的字体显示
只是我觉得加上去也应该要可以正确显示才对阿 不知道是不是codepage的问题
以下是 MSDN 的说明
If the flag is enabled, the displayed characters are inspected to determine
whether the current font supports the code page. If disabled, the current
font is used, even if it does not contain a glyph for the character.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.129.137.203