Comments (9)
does font render fine on normal wine install in npp aside from this snap.
from notepad-plus-plus.
Though the font selection is ugly as hell, yes:
Wine from WineHQ official deb archive, 3.0.1
from notepad-plus-plus.
alright can you tell me the output all of these from regedit, export them individually also paste their contents or reg files so I could implement it further into the snap thanks.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements
also tell default font name used on npp as well.
from notepad-plus-plus.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink
Lucida Sans Unicode REG_MULTI_SZ MINGLIU.TTC,PMingLiu\0SIMSUN.TTC,SimSun\0MSGOTHIC.TTC,MS UI Gothic\0BATANG.TTC,Batang
Microsoft Sans Serif REG_MULTI_SZ MINGLIU.TTC,PMingLiu\0SIMSUN.TTC,SimSun\0MSGOTHIC.TTC,MS UI Gothic\0BATANG.TTC,Batang
Tahoma REG_MULTI_SZ MINGLIU.TTC,PMingLiu\0SIMSUN.TTC,SimSun\0MSGOTHIC.TTC,MS UI Gothic\0BATANG.TTC,Batang
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
Arial Baltic,186 REG_SZ Arial,186
Arial CE,238 REG_SZ Arial,238
Arial CYR,204 REG_SZ Arial,204
Arial Greek,161 REG_SZ Arial,161
Arial TUR,162 REG_SZ Arial,162
Courier New Baltic,186 REG_SZ Courier New,186
Courier New CE,238 REG_SZ Courier New,238
Courier New CYR,204 REG_SZ Courier New,204
Courier New Greek,161 REG_SZ Courier New,161
Courier New TUR,162 REG_SZ Courier New,162
Helv REG_SZ MS Sans Serif
Helvetica REG_SZ Arial
MS Shell Dlg REG_SZ PMingLiU
MS Shell Dlg 2 REG_SZ Tahoma
Times REG_SZ Times New Roman
Times New Roman Baltic,186 REG_SZ Times New Roman,186
Times New Roman CE,238 REG_SZ Times New Roman,238
Times New Roman CYR,204 REG_SZ Times New Roman,204
Times New Roman Greek,161 REG_SZ Times New Roman,161
Times New Roman TUR,162 REG_SZ Times New Roman,162
Tms Rmn REG_SZ MingLiU
HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements
reg: The system was unable to find the specified registry key or value
NOTE:
- The result is under LANG=zh_TW.UTF-8
- This is an upstream build, should have different settings than builds from distributions
also tell default font name used on npp as well.
It seems to be using PMingLiU, but it really should use Noto Sans CJK/Droid Sans Fallback.
from notepad-plus-plus.
@Lin-Buo-Ren thanks and I've working local npp snap with that noto cjk sc font that looks way better then PMingLiU so I'm implementing a check for detecting locale then use cjk font if user locale is on zh_*
and I might implement command flag to change fonts to cjk
can you tell output of locale inside of npp snap shell of locale.
sudo snap run --shell notepad-plus-plus
then run
locale
PS: do tell locale output of your system as well.
from notepad-plus-plus.
In snap:
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:zh_CN
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC="zh_TW.UTF-8"
LC_TIME="zh_TW.UTF-8"
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY="zh_TW.UTF-8"
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER="zh_TW.UTF-8"
LC_NAME="zh_TW.UTF-8"
LC_ADDRESS="zh_TW.UTF-8"
LC_TELEPHONE="zh_TW.UTF-8"
LC_MEASUREMENT="zh_TW.UTF-8"
LC_IDENTIFICATION="zh_TW.UTF-8"
LC_ALL=
Host:
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:zh_CN
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC="zh_TW.UTF-8"
LC_TIME="zh_TW.UTF-8"
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY="zh_TW.UTF-8"
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER="zh_TW.UTF-8"
LC_NAME="zh_TW.UTF-8"
LC_ADDRESS="zh_TW.UTF-8"
LC_TELEPHONE="zh_TW.UTF-8"
LC_MEASUREMENT="zh_TW.UTF-8"
LC_IDENTIFICATION="zh_TW.UTF-8"
LC_ALL=
from notepad-plus-plus.
Test 7.5.6 (62)
on edge, gui font should be now Noto Sans CJK TC Regular
though you have to manually set npp font to Noto Sans CJK TC Regular
for text.
Make sure remove .wine
folder from ~/snap/notepad-plus-plus/common/
before test.
from notepad-plus-plus.
The UI font change seems to be effective however the application locale are forced to English, it's switchable in setting UI though, just not default.
from notepad-plus-plus.
Yep it works properly now, thanks!
from notepad-plus-plus.
Related Issues (20)
- Comment/Uncomment is not working... HOT 1
- Clipboard randomly fails in v7.8.1 64 bit HOT 4
- Foreign characters e.g. chinese not displayed correctly HOT 9
- Cannot open files from /data directory HOT 3
- cannot install offline HOT 1
- Clipboard is failing alternately HOT 5
- an issue which is more of a help request HOT 2
- Option for HiDPI display HOT 3
- Wine is recognised as virus HOT 2
- Cannot increase NPP menu font size HOT 2
- Not working since last refresh the 22-10-2021 HOT 2
- Can't display the hidden folder and file in $HOME HOT 1
- update HOT 1
- Raspberry Pi OS HOT 3
- 8.3.2 No longer works on Ubuntu HOT 2
- Mouse sometimes not visible inside application, can't click anything HOT 6
- Access violation error on "Preferences..." and "Style Configurator..." menus HOT 1
- update the app version HOT 1
- what's the point of doing snap which emulates a program under wine when there is an equivalent in qt? HOT 2
- I cat't launch notepad-plus-plus in ubantu 22.04, app version is 8.6.5 HOT 2
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 notepad-plus-plus.