[0] MpdfException in FontFileFinder.php line 33

Cannot find TTF TrueType font file "STSONG.TTF" in configured font directories.

  1. public function findFontFile($name)
  2. {
  3. foreach ($this->directories as $directory) {
  4. $filename = $directory . '/' . $name;
  5. if (file_exists($filename)) {
  6. return $filename;
  7. }
  8. }
  9. throw new \Mpdf\MpdfException(sprintf('Cannot find TTF TrueType font file "%s" in configured font directories.', $name));
  10. }
  11. }

Call Stack

  1. in FontFileFinder.php line 33
  2. at FontFileFinder->findFontFile('STSONG.TTF') in Mpdf.php line 3856
  3. at Mpdf->AddFont('frutiger', '') in Mpdf.php line 4149
  4. at Mpdf->SetFont('frutiger') in Mpdf.php line 10782
  5. at Mpdf->SetDefaultFont('frutiger') in Mpdf.php line 1475
  6. at Mpdf->__construct(['fontDir' => ['F:\zhjp\vendor\mpdf\...', 'F:\zhjp\application\...'], 'mirrorMargins' => 0, 'forcePortraitMargins' => false, ...]) in Xsgl.php line 38
  7. at Xsgl->index('38', 0)
  8. at ReflectionMethod->invokeArgs(object(Xsgl), ['38', 0]) in App.php line 343
  9. at App::invokeMethod([object(Xsgl), 'index'], []) in App.php line 611
  10. at App::module(['appextend', 'prints.xsgl', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], true) in App.php line 456
  11. at App::exec(['type' => 'module', 'module' => ['appextend', 'prints.xsgl', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
  12. at App::run() in start.php line 19
  13. at require('F:\zhjp\thinkphp\sta...') in index.php line 17

Environment Variables

GET Data

classid
38
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-b0645a3e-fb64-4d4c-b696-d1ef285ac07f
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\www.zhjp.net\www.zhjp.net.config
APP_POOL_ID
www.zhjp.net
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
WIN-8MG3NJI7E2B
ComSpec
C:\Windows\system32\cmd.exe
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
44
OS
Windows_NT
Path
C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Microsoft SQL Server\sql\100\Tools\Binn\;E:\Microsoft SQL Server\100\Tools\Binn\;E:\Microsoft SQL Server\100\DTS\Binn\;E:\Microsoft SQL Server\sql\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;E:\Microsoft SQL Server\sql\100\DTS\Binn\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
4f01
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
WIN-8MG3NJI7E2B$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/appextend/prints.xsgl/index.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/10.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.zhjp.net
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
F:\zhjp\public\index.php
REQUEST_URI
/appextend/prints.xsgl/index.html?classid=38
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
54286
REMOTE_HOST
3.88.16.192
REMOTE_ADDR
3.88.16.192
QUERY_STRING
classid=38
PATH_TRANSLATED
F:\zhjp\public\index.php\appextend\prints.xsgl\index.html
PATH_INFO
/appextend/prints.xsgl/index.html
LOGON_USER
LOCAL_ADDR
43.248.188.58
INSTANCE_META_PATH
/LM/W3SVC/3
INSTANCE_NAME
WWW.ZHJP.NET
INSTANCE_ID
3
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
F:\zhjp\public
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
F:\zhjp\public\
APPL_MD_PATH
/LM/W3SVC/3/ROOT
IIS_UrlRewriteModule
7,1,1993,2336
UNENCODED_URL
/appextend/prints.xsgl/index.html?classid=38
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/appextend/prints.xsgl/index.html?classid=38
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.zhjp.net
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/appextend/prints.xsgl/index.html
REQUEST_TIME_FLOAT
1711633162.2145
REQUEST_TIME
1711633162
Environment Variables
empty

ThinkPHP Constants

APP_PATH
F:\zhjp\public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711633162.2174
THINK_START_MEM
407736
EXT
.php
DS
\
THINK_PATH
F:\zhjp\thinkphp\
LIB_PATH
F:\zhjp\thinkphp\library\
CORE_PATH
F:\zhjp\thinkphp\library\think\
TRAIT_PATH
F:\zhjp\thinkphp\library\traits\
ROOT_PATH
F:\zhjp\
EXTEND_PATH
F:\zhjp\extend\
VENDOR_PATH
F:\zhjp\vendor\
RUNTIME_PATH
F:\zhjp\runtime\
LOG_PATH
F:\zhjp\runtime\log\
CACHE_PATH
F:\zhjp\runtime\cache\
TEMP_PATH
F:\zhjp\runtime\temp\
CONF_PATH
F:\zhjp\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
0.275484s