소스 검색

patch to help rendering text outlines (https://trac.osgeo.org/grass/ticket/155; thanks Bill; merge from relbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31273 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 17 년 전
부모
커밋
96d2c02736
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      ps/ps.map/prolog.ps

+ 5 - 1
ps/ps.map/prolog.ps

@@ -123,7 +123,11 @@ isofonts fn get findfont exch scalefont setfont} BD
 /CTY {mg add bt bb sub D2 sub} BD
 
 % proc used for highlight color
-/HC {0 0 NM dup false charpath stroke} BD
+% (temporarily change miter limit to avoid the M-problem)
+% /HC {0 0 NM dup false charpath gsave 2 setmiterlimit stroke grestore} BD
+% proc used for highlight color
+% (temporarily change line join style so highlight is rounded)
+/HC {0 0 NM dup false charpath gsave 1 setlinejoin stroke grestore} BD
 
 % proc used before included EPS file
 /BeginEPSF {