Comments (7)
GDIの1回目でも最下段から3つ上にある「Bookshelf Symbol 7」の「l」が半透明になっているっぽい感じですね
from krkrz.
半透明は 65階調と256階調の判別とフォントキャッシュに何か問題がありそうですね。
from krkrz.
なるほど,キャッシュ関係は怪しそうですね。
GDI1回目で他にも
・「L」ucidia Console
・Micr「o」s「o」ft Yi Baiti
・Cordia N「e」w
・Mool「B」oran
・L「e」v「e」nim MT
あたりもおかしいっぽい感じです。
from krkrz.
GDIFontRasterizer::GetBitmap 内で階調初期化漏れがあった。
その未初期化値を参照して、256かそれ以外かの判定を行っていたため、多くの場合は256以外と判定されていたが、FreeType を使うと 256 と初期化され、その後キャッシュ解放し、再確保すると同じ位置に割り当てられる可能性が高く、未初期化値が 256 となっているケースが多くなり、半透明(65階調のデータを256階調)で描画されてしまっていた。
GDIFontRasterizer::GetBitmap 内で適切に 65 階調と設定することで修正される。
from krkrz.
手元でコンパイルして修正されていることを確認しました。
「その他気になった点」は一旦閉じてissueをそれぞれ分けて登録したほうが良いでしょうか?
from krkrz.
はい、別件で上げてください。
from krkrz.
了解です。ではこの件はcloseします。
from krkrz.
Related Issues (20)
- Font Stopped Working HOT 8
- What about Linux port (with QT5 or GTK3 based GUI) ? HOT 8
- Visual Studio Community 2017 de
- Visual Studio Community 2017 でビルドするための修正 HOT 6
- vs2015, vs2017 : win32dialog.dll をビルドするための修正 HOT 2
- Could you give us Chinese or English docs? HOT 2
- [ptext] is not show when it's too low
- [Releaser] 強制終了 HOT 1
- How to implement layer scaling in krkrz kag? HOT 1
- Debug.console & Debug.controller do not exist HOT 6
- kagのcharater's layerの不具合について HOT 4
- Android application crash in dev_multi_platform branch
- Layer.adjustGamma のSSE2版テーブル作成(TVPInitGammaAdjustTempData_sse2_c)での不具合 HOT 1
- readme.md gibberish in release file (not source code) HOT 3
- Is it possible to edit the krkrz.github.io page to include the English translations of the KAG3, KiriKiri2 and TJS2 documentations? HOT 1
- TVPTLG6DecodeLineGeneric_sse2_c のバグ
- KAGEX3でのトランジション HOT 1
- tvpwin32 project does not compile on VS2012 Update 5 HOT 1
- The transition with sublayer triggered by timer is not correct.(子レイヤつきのトランジションは タイマーにイベントを発生させられた時の表現異常)
- Kirikiri
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from krkrz.