JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
E
F
G
H
I
L
N
O
S
T
V
E
EnvFont
- Class in
org.ofdrw.font
环境变量中的字体
EnvFont()
- Constructor for class org.ofdrw.font.
EnvFont
F
Font
- Class in
org.ofdrw.font
字体
Font(String, String, Path)
- Constructor for class org.ofdrw.font.
Font
Font(String, String)
- Constructor for class org.ofdrw.font.
Font
Font(String, Path)
- Constructor for class org.ofdrw.font.
Font
Font(String, String, Path, double[])
- Constructor for class org.ofdrw.font.
Font
创建字体并指定 可打印字符宽度缩放倍数
font()
- Method in enum org.ofdrw.font.
FontName
获取字体对象
FontName
- Enum in
org.ofdrw.font
字体名称
FRCtx()
- Static method in class org.ofdrw.font.
EnvFont
获取默认字体绘制上下文
G
getCharWidthScale(char)
- Method in class org.ofdrw.font.
Font
获取字符占比
getCompleteFontName()
- Method in class org.ofdrw.font.
Font
获取字体全名
getDefault()
- Static method in class org.ofdrw.font.
Font
getDefaultFont()
- Static method in class org.ofdrw.font.
EnvFont
获取默认字体
getFamilyName()
- Method in class org.ofdrw.font.
Font
getFont(String)
- Static method in class org.ofdrw.font.
EnvFont
在当前环境中寻找指定名称的字体
getFont(String, String)
- Static method in class org.ofdrw.font.
EnvFont
在当前环境中寻找指定名称的字体
getFontFile()
- Method in class org.ofdrw.font.
Font
getFontFileName()
- Method in class org.ofdrw.font.
Font
获取字体文件名称
getFontObj()
- Method in class org.ofdrw.font.
Font
获取AWT字体对象,该对象可能为空(当前没有提供字体路径时为空)
getName()
- Method in class org.ofdrw.font.
Font
H
hasWidthMath()
- Method in class org.ofdrw.font.
Font
字体是否存在预设的字符宽度映射表
I
isEmbeddable()
- Method in class org.ofdrw.font.
Font
获取字体嵌入标识
L
load(Path)
- Static method in class org.ofdrw.font.
EnvFont
从目录中加载字体,仅加载以 .otf 或 .ttf 结尾的字体文件,若字体无法加载则忽略并打印错误
N
NOTO_PRINTABLE_ASCII_WIDTH_MAP
- Static variable in enum org.ofdrw.font.
FontName
可打印的ASCII表字母宽度所占用百分比
O
org.ofdrw.font
- package org.ofdrw.font
S
setDefaultFont(Font)
- Static method in class org.ofdrw.font.
EnvFont
设置默认字体
setDefaultFont(Path)
- Static method in class org.ofdrw.font.
EnvFont
设置默认字体
setEmbeddable(boolean)
- Method in class org.ofdrw.font.
Font
是否可嵌入OFD文件包。 如果设置为false,则字体文件仅在生成OFD文档的过程中被引用,不会包包含到OFD文件内。 默认值为true。
setFamilyName(String)
- Method in class org.ofdrw.font.
Font
setFontFile(Path)
- Method in class org.ofdrw.font.
Font
设置字体文件
setMapping(String, Font)
- Static method in class org.ofdrw.font.
EnvFont
设置自定义文字映射
setName(String)
- Method in class org.ofdrw.font.
Font
setPrintableAsciiWidthMap(double[])
- Method in class org.ofdrw.font.
Font
设置可打印字符宽度映射表
strBounds(String, String, String, double)
- Static method in class org.ofdrw.font.
EnvFont
分析字符串大小在指定字号下所占空间大小
T
TIMES_NEW_ROMAN_PRINTABLE_ASCII_MAP
- Static variable in enum org.ofdrw.font.
FontName
Time New Roman 字体宽度比例
V
valueOf(String)
- Static method in enum org.ofdrw.font.
FontName
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.ofdrw.font.
FontName
Returns an array containing the constants of this enum type, in the order they are declared.
E
F
G
H
I
L
N
O
S
T
V
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2026. All rights reserved.