[자체 사용 노트] Wine 비트맵 글꼴의 때를 제거하고 WindowsXP에서 복사한 글꼴은 레지스트리로

7091 단어 wine

글씨체가 모호한 원인


Wine에서 사용하는 XFT 글꼴 갤러리 설정에 별칭이 없습니다.
xrdb -query | grep -vE 'Xft\.(anti|hint|rgba)' | xrdb
하지만 로그인 후 매번 실행해야 하는 것은 어려운 일이다/etc/fonts/local.conf로 설정하면 X의 설정이 변경되어 사용할 수 없습니다.
Wine에만 적합하기를 원하기 때문에 적당히 대량으로 제작
#!/bin/bash
xrdb -query | grep -vE 'Xft\.(anti|hint|rgba)' | xrdb
내 환경(Mint19)이라면 /etc/rc.local 써도 실행되지 않는다gnome-startup-applications라는 소프트웨어 rc를 사용합니다.지연 운행을 시도한 결과 순조롭게 진행되었다


XP에서 글꼴 레지스트리 추가


Wine은 Fonts의 글꼴을 자동으로 설정할 수 있지만, 일부분이 부족하기 때문에 추가합니다regedit를 사용하여 다음 컨텐트 파일 가져오기
winfontssetup.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Impact (TrueType)"="impact.ttf"
"Meiryo & Meiryo Italic & Meiryo UI & Meiryo UI Italic (TrueType)"="meiryo.ttc"
"Meiryo Bold & Meiryo Bold Italic & Meiryo UI Bold & Meiryo UI Bold Italic (TrueType)"="meiryob.ttc"
"MS Gothic & MS PGothic & MS UI Gothic (TrueType)"="msgothic.ttc"
"MS Mincho & MS PMincho (TrueType)"="msmincho.ttc"
"Tahoma (TrueType)"="tahoma.ttf"
"Tahoma Bold (TrueType)"="tahomabd.ttf"
"Arial (TrueType)"="arial_0.ttf"
"Arial Bold (TrueType)"="arialbd_0.ttf"
"Arial Bold Italic (TrueType)"="arialbi_0.ttf"
"Arial Italic (TrueType)"="ariali_0.ttf"
"Arial Narrow (TrueType)"="ARIALN_0.TTF"
"Arial Narrow Bold (TrueType)"="ARIALNB_0.TTF"
"Arial Narrow Bold Italic (TrueType)"="ARIALNBI_0.TTF"
"Arial Narrow Italic (TrueType)"="ARIALNI_0.TTF"
"Arial Unicode MS (TrueType)"="ARIALUNI_0.TTF"
"Arial Black (TrueType)"="ariblk_0.ttf"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper]
"ARIAL"=dword:00000000
"Batang"=dword:00004081
"BatangChe"=dword:0000c081
"@Batang"=dword:00006081
"@BatangChe"=dword:0000e081
"Gungsuh"=dword:00005081
"GungsuhChe"=dword:0000d081
"@Gungsuh"=dword:00007081
"@GungsuhChe"=dword:0000f081
"COURIER NEW"=dword:00008000
"Gulim"=dword:00000081
"GulimChe"=dword:00008081
"@Gulim"=dword:00002081
"@GulimChe"=dword:0000a081
"Dotum"=dword:00001081
"DotumChe"=dword:00009081
"@Dotum"=dword:00003081
"@DotumChe"=dword:0000b081
"MingLiU"=dword:00008088
"PMingLiU"=dword:00000088
"@MingLiU"=dword:0000a088
"@PMingLiU"=dword:00002088
"MS Gothic"=dword:00008080
"MS PGothic"=dword:00000080
"@MS Gothic"=dword:0000a080
"@MS PGothic"=dword:00002080
"MS Mincho"=dword:0000c080
"MS PMincho"=dword:00004080
"@MS Mincho"=dword:0000e080
"@MS PMincho"=dword:00006080
"SimSun"=dword:00000086
"NSimSun"=dword:00008086
"@SimSun"=dword:00002086
"@NSimSun"=dword:0000a086
"TIMES NEW ROMAN"=dword:00004000
"SYMBOL"=dword:00004002
"SYMBOL1"=dword:0000a002
"WINGDINGS"=dword:00000002
"COURIER"=dword:00008800
"FIXEDSYS"=dword:00009000
"MS SANS SERIF"=dword:00001000
"MS SERIF"=dword:00005000
"SMALL FONTS"=dword:00000800
"DEFAULT"=dword:00000080

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper\FamilyDefaults]
@="Arial"
"Swiss"="Arial"
"Modern"="Courier New"
"Decorative"="Impact"
"Script"="Segoe Script"
"Roman"="Times New Roman"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arabic Transparent"="Arial"
"Arabic Transparent Bold"="Arial Bold"
"Arabic Transparent,0"="Arial,178"
"Arabic Transparent Bold,0"="Arial Bold,178"
"Helvetica"="Arial"
"Arial Baltic,186"="Arial,186"
"Arial CE,238"="Arial,238"
"Arial CYR,204"="Arial,204"
"Arial Greek,161"="Arial,161"
"Arial TUR,162"="Arial,162"
"Courier New Baltic,186"="Courier New,186"
"Courier New CE,238"="Courier New,238"
"Courier New CYR,204"="Courier New,204"
"Courier New Greek,161"="Courier New,161"
"Courier New TUR,162"="Courier New,162"
"Times"="Times New Roman"
"Times New Roman Baltic,186"="Times New Roman,186"
"Times New Roman CE,238"="Times New Roman,238"
"Times New Roman CYR,204"="Times New Roman,204"
"Times New Roman Greek,161"="Times New Roman,161"
"Times New Roman TUR,162"="Times New Roman,162"
"MS Shell Dlg 2"="Tahoma"
"Tahoma Armenian"="Tahoma"
"Helv"="MS Sans Serif"
"Tms Rmn"="MS Serif"
"David Transparent"="David"
"Miriam Transparent"="Miriam"
"Fixed Miriam Transparent"="Miriam Fixed"
"Rod Transparent"="Rod"
"FangSong_GB2312"="FangSong"
"KaiTi_GB2312"="KaiTi"
"MS Shell Dlg"="MS UI Gothic"
"標準明朝"="MS 明朝"
"@標準明朝"="@MS 明朝"
"標準ゴシック"="MS ゴシック"
"@標準ゴシック"="@MS ゴシック"
"ゴシック"="MS ゴシック"
"ゴシック"="MS ゴシック"
"クーリエ"="Courier"
"タイムズロマン"="Times New Roman"
"ヘルベチカ"="Arial"

결과 캡처




참고 자료

  • 글꼴 설치기 SAKURA
  • WineHQ Forums • View topic - Font anti-aliasing does not work...
  • 좋은 웹페이지 즐겨찾기