403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/print/ghostscript9-agpl-base/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/print/ghostscript9-agpl-base/files/patch-Resource-Init-gs_ttf.ps
--- Resource/Init/gs_ttf.ps.orig	2022-04-04 13:48:49 UTC
+++ Resource/Init/gs_ttf.ps
@@ -1116,10 +1116,17 @@ mark
   } ifelse
                 % Stack: ... /FontInfo mark key1 value1 ...
   post //null ne {
-    /ItalicAngle first_post_string 4 gets32 65536.0 div
-    /isFixedPitch first_post_string 12 getu32 0 ne
-    /UnderlinePosition first_post_string 8 gets16 upem div
-    /UnderlineThickness first_post_string 10 gets16 upem div
+    post type /arraytype eq {
+      % this post table is a big table. /post should be [(...) ...]
+      % data we actually need here should be first one in array.
+      /posttable post 1 get def
+    } {
+      /posttable post def
+    } ifelse
+    /ItalicAngle posttable 4 gets32 65536.0 div
+    /isFixedPitch posttable 12 getu32 0 ne
+    /UnderlinePosition posttable 8 gets16 upem div
+    /UnderlineThickness posttable 10 gets16 upem div
   } if
   counttomark 0 ne { .dicttomark } { pop pop } ifelse
   /XUID [orgXUID 42 curxuid]

Youez - 2016 - github.com/yon3zu
LinuXploit