gpt4 book ai didi

java - 'programmable variations of a font'是什么意思

转载 作者:太空宇宙 更新时间:2023-11-04 08:10:15 24 4
gpt4 key购买 nike

我正在检查与渲染和字体相关的问题。评论GraphicsEnvironment.html#getAllFonts()提到字体的“可编程变体”。

This method provides for the application the most precise control over which Font instance is used to render text. If a font in this GraphicsEnvironment has multiple programmable variations, only one instance of that Font is returned in the array, and other variations must be derived by the application.

If a font in this environment has multiple programmable variations, such as Multiple-Master fonts, only one instance of that font is returned in the Font array. The other variations must be derived by the application.

这里的“可编程变体”是什么意思?我如何知道字体在此 GraphicsEnvironment 中是否具有“可编程变体”?

最佳答案

它给出了多个主字体的示例:看到这个wiki关于 MM 字体。

这是 Adob​​e 实现多种可编程字体的实现,您可以在其中“创建各种不同宽度、粗细和比例的字体样式,而不会丢失字符字形的完整性或可读性”

关于java - 'programmable variations of a font'是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11357717/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com