---
title: "openJDk下图片验证码字体问题"
author: "hehaibo"
date: "2014-10-25T10:27:25Z"
tags: []
categories: ["编程语言"]
slug: "openjdk"
draft: false
lastmod: "2014-10-25T10:27:25Z"
id: 2147809
url: "https://hehaibo.iteye.com/blog/2147809"
---

Probable fatal error:No fonts found.

java.awt.FontFormatException: bad pfa font

linux字体安装在 /usr/shared/fonts目录下面 。

执行 fc-cache 让字体生效