带有图形“blackspace”的字体特点
我正在寻找一种包含图形字符(本质上)是反转的空格字符的字体。我正在寻找相当于最大可能的实心黑盒子的图形字符。我能找到的最接近的是 Wingings 2 角色 162,但这并没有填满整个可用的角色空间。当我插入两个连续的 Wingdings 2 162 个字符时,在显示或打印时它们之间仍然存在明显的空白。有谁知道可以填充所有可用字符空间的黑盒字体/字符?
I'm looking for a font which contains a graphic character which is (essentially), the space character, inverted. I'm looking for a graphic character equivalent to the largest-possible solid-black box. The closest I have been able to find is Wingings 2 character 162, but that doesn't fill the entire available character space. When I insert two consecutive Wingdings 2 162 characters, there is still appreciable whitespace between them when displayed or printed. Does anyone know of a black-box font/character which would fill all available character space?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
所有字符之间都必须有空格,否则将无法读取。这称为“字距调整”。如果您想确保每页使用最大碳粉量,则可以在用于发送恶意传真的任何程序中调整字偶距和行高。
All characters are going to have whitespace between them, or they would be unreadable. This is called "kerning". You can adjust the kerning and line-height in whatever program you are using to send the malicious fax, if you want to be sure to use the maximum amount of toner per page.
您是否考虑过使用软件包像这样或像这样?您可以将空格字符编辑为纯黑色方块。但正如 Chris McCall 提到的,由于绘制字体的布局引擎应用的字偶距调整,任何大小的字符之间可能仍然存在空格。
您的另一个选择是所有者绘制自己的文本并以编程方式用黑框替换空格。您可以完全控制字距调整和其他一切。
Have you considered creating your own font using a software package like this or like this? You could edit the space character to be a solid black square. But as Chris McCall mentioned, you may still have space between characters of any size due to kerning applied by the layout engine that draws the fonts.
You other option is to owner draw your own text and programmatically replacing spaces with black boxes. You would have complete control over kerning and everything else.
我不知道这是否正是您所寻找的,但是...
我一直在寻找同样的东西,因为当我想使用 spritefont 编写文本时我想创建一个“文本框”,但我从来不知道总字符串的长度,所以我想要一些可以在字符串之前的相同位置用对比色“写”的东西,预计它的长度与它需要包含的字符串一样长。既然如此,请尝试:
Webdings - 字符 103。
我尝试将它们排列起来,但它们之间甚至没有任何空间。完美的。
I don't know if this is exactly what you were looking for, but...
I was looking for the same thing, since I wanted to create a "textbox" when I wanted to write text using the spritefont, but I never knew how long the total string was going to be, so I wanted something that I could "write" in the same location right before the string with a contrasting color which could be expected to be as long as the string it needed to encompass. That being the case, try:
Webdings - character 103.
I tried lining them up and there wasn't even any space in between. Perfect.