无法在iReport中加载以下字体问题 [英] Could not load the following font issue in iReport

查看:318
本文介绍了无法在iReport中加载以下字体问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用程序有自己的字体。我们使用 Windows Vista 操作系统使用 iReport 开发报告。我们正在使用 iReports 3.7.1

We have our own fonts for our application. We are using Windows Vista operating system to develop the reports using iReport. We are using iReports 3.7.1.

我将所有字体保存在C:\驱动器的文件夹中。我在 iReport 中提供了字体路径。
生成报告时,我仍然收到无法加载字体错误。

I kept all my fonts in a folder in C:\ drive. I gave fonts path in iReport. Still I am getting 'Could not load the font' error while generating the report.

同样适用于 Windows 2000 iReport 2.x版本

推荐答案

这是,呃,不是一个及时的回复。但你应该使用字体扩展名。它们被添加来处理这类问题。

This is, er, not exactly a timely reply. But you should use font extensions. They were added to handle this type of problem.

将字体文件放入类路径也适用于许多情况(如您所示)。但它也出现了一些意想不到的原因(正如你所指出的那样!)。字体扩展将避免这些问题。

Putting your font files into the classpath also works in many cases (as you indicated). But it fails for some unanticipated reasons as well (as you indicated!). Font Extensions will avoid these problems.

这篇关于无法在iReport中加载以下字体问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆