iReport 在Linux上运行出错:Font 'Arial' is not available to the JVM

转载 2010年05月25日 16:26:00
Installing Microsoft TrueType fonts on Linux:

These instructions are for RedHat 7.3-9.0 and current Fedora Core RPM based distribution running on x86 compatable hardware. Downloads and in-depth instructions for other platforms can be found at CoreFonts.sourceforge.net.

Follow these steps to build an RPM (as root):

  1. Download: cabextract-0.6-1.i386.rpm
  2. Install RPM: rpm -ivh cabextract-0.6-1.i386.rpm
  3. Download: msttcorefonts-1.3-4.spec
  4. Create RPM: rpmbuild -bb msttcorefonts-1.3-4.spec
    (This downloads Microsoft CAB files and extracts the fonts and builds an RPM. Uses wget, rpm-build, chkfontpath, fc-cache, ttmkfdir)
  5. This creates /usr/src/redhat/RPMS/noarch/msttcorefonts-1.3-4.noarch.rpm

Installing RPM: msttcorefonts-1.3-4.noarch.rpm

  • rpm -ivh msttcorefonts-1.3-4.noarch.rpm
  • Restart X server:
    • RedHat 9.0 - Fedora Core: /sbin/service xfs reload
    • RedHat 8.0: /sbin/service xfs restart

bug宝典JAVA篇 Font 'STSong-Light' is not available to the JVM

在centos6.5下面运营ireport报表,出现字体的问题net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'STSon...
  • warrah
  • warrah
  • 2017年04月25日 14:54
  • 539

net.sf.jasperreports.engine.util.JRFontNotFoundException: Font "黑体" is not available to the JVM. See

彻底解决linux上: 建个类 运行在linux上: class fonts{    public static void main(String[] args) throws Exceptio...

Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify pr

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService'...

Not enough physical memory is available to power on this virtual machine with its configured setting

出现错误,查找资料解决。

Request caching is not available. Maybe you need to initialize the HystrixRequestContext?

在《spring cloud 微服务实战》书中第159页-----请求缓存这一部分,通过继承HystrixCommand的方式实现的命令,开启请求缓存只需通过重载getCacheKey()方法, @...

SolrCore 'collection1' is not available due to init failure: Index locked for write for core collect

org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: I...

linux下切换用户出现This account is currently not available

今天在一台新服务器下切换用户的时候出现“This account is currently not available”错误 上网检索了一 下发现是用户的shell禁止登录的问题 解决办法: 比...

HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load}

HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load c...

linux oracle ORA-01221: data file 1 is not the same file to a background process

因此造成在写system时实例down. alert日志中出现如下信息:ITPUB个人空间K){id,@:dn%C   Fri Sep  5 14:20:07 2008 ~vd"D...

单元测试出错Native library for Attach API not available in this JRE

偶然一天,运行eclipse单元测试,报错: java.lang.IllegalStateException: Native library for Attach API not available...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:iReport 在Linux上运行出错:Font 'Arial' is not available to the JVM
举报原因:
原因补充:

(最多只允许输入30个字)