diff --git a/README.md b/README.md index 9e54fa8..04065bc 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,23 @@ -# Mactype.Profile.Mac +# Mactype.Profile -[Mactype](https://github.com/snowie2000/mactype)'s profile for self use.   -Trying to find the best solution that similar to Mac. +![](https://img.shields.io/badge/License-WTFPL%202.0-lightgrey.svg?style=flat-square) + +[Mactype](https://github.com/snowie2000/mactype)'s profile for self use. ### Notes For the best visual effect, please make sure the scale of your PC is 100% or 200%, etc. -If you meet crashes, try run with **HotShift & AsAdmin**. +If you meet crashes, try run with **HotShift & AsAdmin**. More settings' details see +[information](info.md). ## Install -1. Install Fonts: XHei OSX [BaiduPan](https://pan.baidu.com/s/1ge6WEPl)|[GoogleDrive](https://drive.google.com/open?id=0By0qP7O6AIsHSTMwUi1iUjY4dkk) +1. Install Fonts: XHei OSX [BaiduPan](https://pan.baidu.com/s/1ge6WEPl) | [GoogleDrive](https://drive.google.com/open?id=0By0qP7O6AIsHSTMwUi1iUjY4dkk) 2. Install [Mactype](http://www.mactype.net/). 3. Download [the latest release](https://github.com/hyrious/Mactype.Profile.Mac/archive/master.zip), extract it to Mactype's ini folder. e.g. `C:\Program Files\MacType\ini` -4. Run `MacWiz`(`Mactype 用户向导` in Chinese) from Start Menu, choose this profile marked hyrious and \[OK\]. +4. Run `MacWiz` ( `Mactype 用户向导` in Chinese ) from Start Menu, choose this profile marked hyrious then OK. ## Information @@ -27,13 +29,7 @@ Inspired by 3 profiles: ## Recommended Applications Applications that friendly to Mactype. -- [CentBrowser](https://www.centbrowser.com/): Turn off **DirectWrite** at **chrome://flags**. - -## Workaround - -osu!, VirtualBox, PaintToolSAI(ver 1) and a lot of apps may not work well with Mactype. - -The suggestion is make Mactype turn blind to these specific apps, put them into section **[UnloadDll]** or **[ExcludeSub]**. +- [CentBrowser](https://www.centbrowser.com/): Turn off `chrome://flags/#disable-direct-write`. ## License diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..904cf20 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,292 @@ + + + + + + + Mactype Profile + + + + + + This page doesn't support IE or Edge or lower version of chromium, please use the latest Chrome or Firefox. +
+ +
+
+
+ General +
+ + + 1 +
+
+ + + 1 +
+
+ + + 4 +
+
+ + + 16 +
+
+ + + 2 +
+
+ + + 0 +
+
+ + + 0 +
+
+ + + 0 +
+
+ + + 1.5 +
+
+ + + 1.7 +
+
+ + + 1.4 +
+
+ + + 1 +
+
+ + + 0 +
+
+ + + 4 +
+
+ + + 4 +
+
+ + + 4 +
+
+ + + 0 +
+
+ + + 0 +
+
+ + + 2 +
+
+ + + 0 +
+
+ + + 0 +
+
+ + + 2 +
+
+ + + 1 +
+
+ + + 256 +
+
+ + + 6140 +
+
+ + + 20485760 +
+
+
+ DirectWrite +
+ + + 6 +
+
+ + + 1.5 +
+
+ + + 1.0 +
+
+ + + 1 +
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/hyrious.ico b/hyrious.ico index 6c0a545..498c82c 100644 Binary files a/hyrious.ico and b/hyrious.ico differ diff --git a/hyrious.ini b/hyrious.ini index 3612c1c..ebe1f1d 100644 --- a/hyrious.ini +++ b/hyrious.ini @@ -2,11 +2,8 @@ ; hyrious@outlook.com [Preview] -Font=Microsoft YaHei UI -Color=$333333 -Text=hyrious -Size=12 -Align=Center +; $BBGGRR +Color=$996633 [General] Name=hyrious @@ -17,8 +14,6 @@ AntiAliasMode=4 NormalWeight=16 BoldWeight=2 ItalicSlant=0 -EnableKerning=1 -Saturation=0 UseMapping=0 GammaMode=0 GammaValue=1.54 @@ -29,53 +24,50 @@ TextTuning=0 TextTuningR=2 TextTuningG=2 TextTuningB=2 -WidthMode=1 BolderMode=0 FontLoader=0 FontLink=2 FontSubstitutes=1 MaxHeight=0 -LcdFilter=1 +LcdFilter=2 LoadOnDemand=1 CacheMaxFaces=256 CacheMaxSizes=33554432 CacheMaxBytes=67108864 -MaxBitmap=0 - -[ExcludeModule] - -[Exclude] - +[DirectWrite] +RenderingMode=6 +GammaValue=1.5 +Contrast=1.0 +ClearTypeLevel=1 [FontSubstitutes] -;Courier=XHei OSX Mono -;Terminal=XHei OSX Mono -;MS Sans Serif=XHei OSX -;MS Serif=XHei OSX -;Microsoft Sans Serif=XHei OSX -;SimSun=XHei OSX SimSun -;NSimSun=XHei OSX NSimSun -;Fixedsys=XHei OSX NSimSun - -[Individual] - +Terminal=XHei OSX Mono +MS Sans Serif=XHei OSX +MS Serif=XHei OSX +Microsoft Sans Serif=XHei OSX +SimSun=XHei OSX SimSun +NSimSun=XHei OSX NSimSun +Fixedsys=XHei OSX NSimSun [UnloadDll] ConEmuC64.exe fontview.exe +gpg.exe osu!.exe pacman.exe sai.exe +Telegram.exe VirtualBox.exe winlogon.exe -gpg.exe -pacman.exe [ExcludeSub] -ConEmuC64.exe acrodist.EXE +chrome.exe +ConEmuC64.exe devenv.EXE +ESurfingClient.exe EXCEL.EXE gpg.exe ONENOTE.EXE osu!.exe pacman.exe POWERPNT.EXE +Telegram.exe WINWORD.EXE diff --git a/info.md b/info.md new file mode 100644 index 0000000..1aad3f3 --- /dev/null +++ b/info.md @@ -0,0 +1,57 @@ +# Mactype.Profile.Detail + +If you got any questions, https://github.com/snowie2000/mactype/issues/new. + +### Loading Mode + +- Registry: highest priority, careful as it's easy to crash some other apps. +- Service: the second highest priority, this way it could render other apps' + window's title bar. +- HotShift: same priority as other apps, if any crash from above two modes, + try this one. +- AsAdmin: use this to render some apps with high priority, yet couldn't + render other apps' window's title bar. +- Compatibility: the lowest priority. + +> Q: What if use Compatibility mode with AsAdmin enabled ? + +> A: I don't know yet, if you know something please tell me. + +### ~~`[Exclude]`~~ ? `[ExcludeModule]` ? `[UnloadDll]` ? `[ExcludeSub]` ? + +> https://github.com/snowie2000/mactype/issues/332#issuecomment-313572706 + +- `[ExcludeModule]`: won't render but still apply hook + (to render one's child process) +- `[UnloadDll]`: won't render +- `[ExcludeSub]`: won't substitute fonts + +### `[Preview]` Section + +Aha you've noticed, but they aren't part of Mactype's core. + +```ini +[Preview] +Font=Tahoma +;$BBGGRR +Color=$990088 +Text=卍 XMac.LCD +Size=12 +Align=Center +``` + +BTW, these options aren't documented as well: + +```ini +[General] +Name=XMac.LCD.HotShift@XHei +Icon=XMac\XMac.ico,0 +;offset-x,offset-y,alpha-dark,color-dark,alpha-light,color-light +;BBGGRR +Shadow=1,1,60,FFFFFF,35,000000 +ForceChangeFont=华文中宋 +``` + +You can guess and try the usage of them, be careful as there may be +[a bug](https://github.com/snowie2000/mactype/blob/master/settings.h#L640-L642) +in `Shadow` option. \ No newline at end of file