歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux平台閱讀PDG格式的文檔

Linux平台閱讀PDG格式的文檔

日期:2017/2/28 16:55:47   编辑:Linux教程

Linux平台下能直接閱讀PDG文檔的工具好象還沒有,但是可以通過wine來解決。

1、首先要安裝wine,並配置

sudo yum install wine

解決子窗口亂碼問題:

gedit ~/.wine/system.reg

(一定要使用 gedit 或其他支持 gb2312/utf8 編碼的編輯器修改這些文件,否則文件中的中文可能變亂碼)

搜索: LogPixels
找到的行應該是:[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]

將其中的:
“LogPixels”=dword:00000060

改為:
“LogPixels”=dword:00000070

搜索: FontSubstitutes
找到的行應該是:[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]

將其中的:
“MS Shell Dlg”=”Tahoma”
“MS Shell Dlg 2″=”Tahoma”

改為:
“MS Shell Dlg”=”SimSun”
“MS Shell Dlg 2″=”SimSun”

2、解壓pdgreader pro

gunzip -d pdg_pro.zip

3、運行pdgreader pro

$cd pdg_pro
$./linux.sh
$wine pdg_pro/pdgreader_pro.exe

使用pdgreader pro打開pdg文檔,可正常閱讀。

linux.sh內容如下:

#!/bin/sh
echo "coping pdg2.dll to wine's system32 directory!!"
cp pdg2.dll ~/.wine/drive_c/windows/system32/pdg2.dll
echo "Now,completed!! Good luck!"

Copyright © Linux教程網 All Rights Reserved