私はChromium Embedded Frameworkの最新のTChromium Delphiラッパー(http://code.google.com/p/delphichromiumembedded/)を使用しています。TChromiumをアンチエイリアスでレンダリングする
フォントがアンチエイリアス表示されません。
この動作をどのように切り替えることができますか?
私はクロームのために働く、このハックを試みたが、TChromiumのためのDelphiアプリケーションに埋め込まれていない
/* hack for anti-alising in Chrome
url : https://github.com/h5bp/html5-boilerplate/issues/598
url : http://bashelton.com/2011/03/force-font-smoothing-in-chrome-on-windows-hack/
*/
.body {
-webkit-text-stroke: 1px transparent;
text-shadow: 0px 0px 1px #D4D0C8;
}
私のマニフェストファイルは、次のとおりです。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="Company.Application.1.0"
type="win32"
/>
<description>MTG Studio</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
から来ました。 Delphiアプリケーションでテーマサポートが有効になっていますか?リモートデスクトップまたはターミナルサービスを使用していますか?どのバージョンのWindowsを使用していますか? –
テーマが有効になっていません。私はXPマニフェストを持っています。 RDPまたはターミナルサービスはありません。 Windows XP SP3。 –
pduerden:私はこれにいくつかの研究開発を行った。銀色の弾丸の修正はありません。元のハックはChrome v14での作業が中止され、フォント、サイズ、色に応じてテキストシャドーハックの結果が変わります。それは使用することはできませんでしたが、
のためのワンサイズのハックはちょっとしたヒットです。 http://jsfiddle.net/peterduerden/BZj29/ –