Oracle Reports 11g中的字体 [英] Fonts in Oracle Reports 11g

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

问题描述

我有一份带有一些arial字体的报告.字体在报表构建中看起来正确,但是当报表服务器以PDF格式生成报表时,它不会应用Arial字体.我在uifont.ali中有字体映射条目.这是我的uifont.ali的内容.

I have a report with some arial fonts. Fonts looks correct on report build, but when report is generated by report server in PDF it doesnt apply the Arial Font. I have entries for font mapping in uifont.ali. Here are the contents of my uifont.ali.

[ PDF:Subset ]

Arial..Italic.Bold.. = "Arialbi.ttf"

Arial...Bold.. = "Arialbd.ttf"

Arial..Italic... = "Ariali.ttf"

Arial..... = "Arial.ttf"

*="ARIALUNI.TTF"

由于某种原因,它仅应用*条目.如果我将*条目更改为喜欢

For some reason it only applying the * entry. If i change * entry to like

*="Arial.ttf"

然后将其应用Arial字体.

Then it it apply Arial font.

仅*条目适用.如果我删除*条目,则会应用某些设备字体.

Only * entry is applied. If i remove * entry it apply some device fonts.

TTF文件在Reports_Path中

TTF files are in Reports_Path

推荐答案

对于Oracle Reports的 uifont.ali ,有两个黄金法则:

For uifont.ali of Oracle Reports, there are two golden rules :

  1. True Type字体文件必须存在于任何一个文件夹中 在 REPORTS_PATH 中指定. (这种情况似乎是在课题的案文中执行的)
  2. 对于特定字体(在这种情况下为 Arial ),具有优先级 PDF 格式的报告规则:

  1. The True Type font files must exist in any one of the folders specified in REPORTS_PATH. (This case seems to be performed in the Question's text)
  2. For a particular font (Arial, in this case), there are precedence rules for Reports in PDF format :

  • 字体子设置中的条目(在[ PDF:Subset ]部分中)

优先于

字体嵌入中的条目(在[ PDF:Embed ]中 部分 ) (没问题,这不是我们的情况.)

the entries in Font Embedding( in [ PDF:Embed ] part ) (No problem, this is not our case).

字体别名中的条目(在[ PDF ]部分中)

Entries in Font Aliasing( in [ PDF ] part )

优先于

字体子设置"中的条目(在[ PDF:Subset ]部分中)

the entries in Font Subsetting( in [ PDF:Subset ] part )

( 问题可能源于此. 如果[ PDF ]部分中有字体arial条目,而抑制了部分).

(The problem may stem from this. This should be inspected if there are entries for font arial in [ PDF ] part suppressing the ones in [ PDF:Subset ] part ).

这篇关于Oracle Reports 11g中的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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