|
本帖最后由 chigre3 于 2015-9-3 22:00 编辑 0 A% S6 j7 {! g( ]
5 V# D# W3 I2 V2 f3 O通过自定义字体 Segoe UI(普通、斜体,粗体,粗斜体), Palatino Linotype(普通、斜体,粗体,粗斜体), Arial Unicode MS(普通), HanaMinB(普通), _2 q6 u3 {# I2 U6 G
使得显示界面美观,也能够显示部分词典的音标、CJK-B/C/D/E范围内的汉字等等* w# M8 a6 O0 { u. S
7 l2 a) r2 x) G- o. g ) n u; P! P- q2 Z$ G
% s \, V5 B( W4 s6 K6 T+ y
; c) [. M2 D2 v1 [---------------------------------------------------------------------------------; w7 O, b4 P1 Y! d: |9 g8 x7 i5 s
所有文件都放入SD卡该文件夹路径下: sdcard卡根目录/GoldenDict/.config/
+ r# c+ |) Q! Rarticle-style.css 和 金山音标 / Segoe UI / Palatino Linotype 这3样字体 在压缩包里, ARIALUNI.TTF请在Windows系统fonts文件夹下找
8 o% Y i8 |0 _; ^/ t; [HanaMinB.ttf 请下载这个链接的压缩文件,解压得到: http://sourceforge.jp/projects/h ... azono-20141012.zip/ 6 c* D; v S; G2 i, N9 a
& H" a% L2 A5 U9 y" Z2 p
---------------------------------------------------------------------------------
3 e9 x2 _2 r5 G# W9 W- @font-face{font-family:"Arial Unicode MS";font-weight:normal;font-style:normal;src:url('file:///sdcard/GoldenDict/.config/ARIALUNI.TTF');}; q# y `) u: H3 B$ t: L
- @font-face{font-family:"HanaMinB";font-weight:normal;font-style:normal;src:url('file:///sdcard/GoldenDict/.config/HanaMinB.ttf');}
I. Z. g3 `% r! ? p) F+ w - @font-face{font-family:"Segoe UI";font-weight:normal;font-style:normal;src:url('file:///sdcard/GoldenDict/.config/segoeui.ttf');}
/ \ z7 u$ a7 c1 R' e* k- T - @font-face{font-family:"Segoe UI";font-weight:bold;font-style:normal;src:url('file:///sdcard/GoldenDict/.config/segoeuib.ttf');}
; y' F0 a3 ]$ V& A - @font-face{font-family:"Segoe UI";font-weight:normal;font-style:italic;src:url('file:///sdcard/GoldenDict/.config/segoeuii.ttf');} s& I1 O: `. `5 R v, m! _
- @font-face{font-family:"Segoe UI";font-weight:bold;font-style:italic;src:url('file:///sdcard/GoldenDict/.config/segoeuiz.ttf');}9 j/ L& L$ A5 _
- @font-face{font-family:"Palatino Linotype";font-weight:normal;font-style:normal;src:url('file:///sdcard/GoldenDict/.config/pala.ttf');}
5 \' {- x" Z' w' T: Q6 u% m! @& @* ^9 W1 Q - @font-face{font-family:"Palatino Linotype";font-weight:bold;font-style:normal;src:url('file:///sdcard/GoldenDict/.config/palab.ttf');}# F. o! S: T7 Q4 ~5 w
- @font-face{font-family:"Palatino Linotype";font-weight:normal;font-style:italic;src:url('file:///sdcard/GoldenDict/.config/palai.ttf');}
: h( x* B, |: F/ e% c - @font-face{font-family:"Palatino Linotype";font-weight:bold;font-style:italic;src:url('file:///sdcard/GoldenDict/.config/palabi.ttf');}
% ~! {5 J' @; C. o. T5 ?8 Y2 m a - @font-face{font-family:"Kingsoft Phonetic Plain";font-weight:normal;font-style:normal;src:url('file:///sdcard/GoldenDict/.config/kingsoft_phonetic_ue.ttf');}
" a* P; C$ D/ _1 [
0 x& h' ~; Q3 _- body! G/ q0 Q& n+ V& V
- {; ^: P1 {! `) t& J2 j2 D' }
- font-family:"Segoe UI",Tahoma,"Palatino Linotype","Arial Unicode MS","HanaMinB";; Y& ^0 m' k1 H, s1 `
- font-size:.9em;
8 ~5 k0 v4 D+ _0 c. H - }0 X: v' n* `( |) p2 r& ~& G/ y
- 3 l- K& y+ b8 O. O
- img$ g; @+ Y6 O1 L
- {
/ L8 e) B: W$ n+ N - max-width:100%
: m; J; h' {+ m3 i* F$ r5 T - }
* _( X4 w; ~6 B, D - 9 P) z. x0 |% b3 H; _( q
- .gddictname% g6 G& y) A- f
- {3 H1 N7 L, r* D3 z: ?" c% F; n
- font-size:1em;
0 y% C) u; {+ i0 r D - max-width:65%;
/ k/ P+ Z( N! p9 u0 N0 u - overflow-x:hidden;/ P# I1 d$ D1 e) R# d% s
- text-overflow:ellipsis;
+ ]7 k9 q1 X3 s( h1 I8 g9 U- [ - display:inline-block;
5 U1 n7 f# A& E+ z - white-space:nowrap;2 @5 a3 A4 z4 P! U
- overflow:hidden;
' }$ x! q: X9 v, q( t4 ]& E4 W - color:#4480F8;2 B+ E! v6 a% u4 \' L: H% }7 \
- background:#E0E8F01 [* ^2 j& o2 x* [" b7 Z
- }
7 Z6 ^) K6 d- ^
+ V! x. i# _' D9 l! I* p8 k- .gdheadword
' C+ p" y$ r1 V2 Y! p& {' L - {
5 h1 @# a. |% h% B - font-size:1.25em;
- g O: k( Y! {7 E- k - }
复制代码
- f8 [. r6 ~8 u3 X( `. @, n5 n. d
+ u/ _: _& p6 M8 y! a+ h) z: u---------------------------------------------------------------------------------8 k9 I4 E; }' j8 R4 g/ b
6 @6 M. I- t( u# z( ]8 N) W老帖链接: ?% n; H: x+ S. o
[GoldenDict] 【解决方案】GoldenDict 加载某些指定字体的词典文件3 D2 f6 k X1 p7 @; f( l3 _
https://www.pdawiki.com/forum/fo ... hread&tid=13624# N7 a: ~& R) i. N: G
! f, R1 D& b8 k( [* W2 Q中国哲学书电子化计划 字体试验页% a* s6 V) D" v
http://ctext.org/font-test-page/zhs |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?免费注册
x
|