原文
' ~' X6 p2 k3 S9 X' A9 Nhttp://code.google.com/p/gdipp/ $ H! `: i" @# y3 g V; j9 r* b1 u
+ C' \+ \8 Y5 r+ ]. a又一个GDI HOOK工具 GDIPP,有源码可以下载。 ( v6 A: [1 A9 N8 c! x; y' p
( d0 O t/ J, f1 q6 C9 e2 E2 ?
The gdipp (codename) project is a replacement of the Windows default text render, which brings to you the effect of text like Mac OS and Linux distributions. It is easy to use with unnoticeable overhead, and it is fully customizable.
1 ?+ J' e! o" H8 d: b+ M" `The project is originated as the relaunch of the suspended gdi++.dll project. Like the InkStone project, we found the source code of gdi++.dll project too complex to manage, and decide to start over a new code base. The goal of gdipp project is to continue the development of gdi++, expand functionality, improve performance, provide better compatibility for the current and future Windows versions (potentially at the cost of removing compatibility for old Windows), create detailed and formal documentation, as well as tools to help using it.
8 b* v7 D T7 K: v4 v) x3 hgdipp Project supports both 32-bit and 64-bit Windows 7/Vista. You can install 32-bit and 64-bit components separately. The 32-bit components only renders 32-bit applications, while the 64-bit components only renders 64-bit applications in 64-bit Windows. Both components share the same setting file. gdipp may also work correctly on Windows XP and 2003. However, due to the significant difference in the system architectures, the rendering could be less stable and compatible. We do not recommend you to choose the "Windows Service" and "Registry" load modes. gdi++ or ezgdi are alternative choices.
& e* v+ {' h, O7 }, vWe are likely to try out new design and implementation ideas in new beta releases, which makes them unstable and even dangerous to your Windows system. Therefore, the startup mode of the gdipp Service in beta versions is Manual for safety. It is changed to Automatic in stable versions. Moreover, we highly recommend NOT to set the startup mode of the gdipp Service to "Automatic" by yourself, or use the registry load mode. We apologize for the inconvenience.
3 N1 d1 g! Z0 Q9 I5 A" P% T# D }We are happy to welcome new members. If you are interested in this project and wish to contribute your code, just leave us an email.
, M" W, u+ c/ L6 aThe project consists of the following components:
3 B* x, b& O; b) n, G0 Ogdimm.dll: the main component of the gdipp project, counterpart of gdi++.dll. Most of the font management, text rendering and API simulating is taken place here. gdimm means "gdi--" for emphasizing its design idea of lightweight comparing to gdi++.dll.
# N% d' ?" G3 J. _gdipp Enumerator: enumerates the current processes in the system and injects gdimm.dll into target ones. gdipp Service calls it when starting.
3 L' P& Z1 y9 H [% rgdipp Loader: accept an executable file path as argument and run it, counterpart of gdi++.exe. If the process is successfully spawned, inject gdimm.dll to the running process, and the new process will render text with gdimm.dll instantly. 5 |5 S* P; M a
gdipp Preview: preview rendering result with different configurations of gdimm.dll. Help discovering the best settings for every user.
( J; g7 r4 {* Q7 l% h. ^' |6 ggdipp Service: as a Windows service, it injects gdimm.dll to target processes, thus avoid enabling AppInit_DLLs for system-wide API hooking. It also coordinates system-wide glyph caching.
) e! v9 W( m- q& L; M4 L* ?gdimm.dll plans¶
8 j/ R5 K+ J0 d) f. F/ kSystem-wide cache 8 H& n- L7 j2 r7 e& y; K
Support for vertical text 0 |- t+ M; u5 S: ?( E
Support for right-to-left text ( R+ ^, }. q# @% I6 f
Project-scale plans¶ ) O- j/ l' z5 ?' ?1 v/ B* [
gdipp Preview * G' A- @1 S+ N, ]3 Y6 A v5 K7 U) k0 |: `
Kernel-mode hooking (driver)
. N, ~ Y0 N! U* cWindows Mobile systems support |