FontForge不识别,WINDOWS报错:mstmc.ttf真的是字体文件吗?

简介: FontForge不识别,WINDOWS报错:mstmc.ttf真的是字体文件吗?

吾写了一个精密的字体加载程序,同事用了之后说mstmc.ttf抓不到文件名。吾自己系统上没有,让他传了过来。不大不小,4096字节,刚刚好。一个字体文件才4K?


 从代码来看,是试图抓取字体标志的时候出错。目前已知有4种标志:


public static final int ttcfTag = 0x74746366; // 'ttcf' - TTC file
    public static final int v1ttTag = 0x00010000; // 'v1tt' - Version 1 TT font
    public static final int trueTag = 0x74727565; // 'true' - Version 2 TT font
    public static final int ottoTag = 0x4f54544f; // 'otto' - OpenType font

FontForge不识别:

 难道是JDK代码不完善?吾于是下载了FontForge,打开时报错:


image.png


  FontForge都不识别,这是什么怪异文件?


WINDOWS也不认识,复制时出错。

难道是WINDOWS特有的格式?于是吾试图将其复制到Windows\Fonts目录下,报错:


image.png


WINDOWS大锅都不认识,你这个文件是间谍?


目录
相关文章
|
存储 Shell 开发工具
8-8|windows上Git报错
8-8|windows上Git报错
|
Shell PHP Windows
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
335 0
|
Java 开发工具 Spring
【Azure Spring Cloud】使用azure-spring-boot-starter-storage来上传文件报错: java.net.UnknownHostException: xxxxxxxx.blob.core.windows.net: Name or service not known
【Azure Spring Cloud】使用azure-spring-boot-starter-storage来上传文件报错: java.net.UnknownHostException: xxxxxxxx.blob.core.windows.net: Name or service not known
319 0
【Azure 应用服务】App Service 配置 Application Settings 访问Storage Account得到 could not be resolved: '*.file.core.windows.net'的报错。没有解析成对应中国区 Storage Account地址 *.file.core.chinacloudapi.cn
【Azure 应用服务】App Service 配置 Application Settings 访问Storage Account得到 could not be resolved: '*.file.core.windows.net'的报错。没有解析成对应中国区 Storage Account地址 *.file.core.chinacloudapi.cn
348 0
|
开发框架 .NET API
Windows Server 2022 安装IIS 报错 访问临时文件夹 C:\WINDOWS\TEMP\3C 读取/写入权限 错误: 0x80070005
Windows Server 2022 安装IIS 报错 访问临时文件夹 C:\WINDOWS\TEMP\3C 读取/写入权限 错误: 0x80070005
1218 0
|
Windows
【Windows】 Win10下报错:该文件没有与之关联的应用来执行该操作。请安装应用,若已经安装应用,请在“默认应用设置”页面中创建关联
【Windows】 Win10下报错:该文件没有与之关联的应用来执行该操作。请安装应用,若已经安装应用,请在“默认应用设置”页面中创建关联
2413 1
|
运维 安全 数据管理
数据管理DMS产品使用合集之windows上安装网关时,token都是新的,报错:无效的token,该怎么办
阿里云数据管理DMS提供了全面的数据管理、数据库运维、数据安全、数据迁移与同步等功能,助力企业高效、安全地进行数据库管理和运维工作。以下是DMS产品使用合集的详细介绍。
345 4
|
Linux Docker Windows
windows10安装docker报错【已解决】
windows10安装docker报错【已解决】
613 0
Qtdesigner报错:This application failed to stat could not find or load the Qt platform plugin “windows“
Qtdesigner报错:This application failed to stat could not find or load the Qt platform plugin “windows“
|
Windows
windows 替换字体
windows 替换字体
145 0