可视化java小程序中的输入符号(字体还是图形?)
如何在java小程序中显示图形“输入符号”?
我想准确显示“↵”,即 U+21B5 带角向左的向下箭头。 –
我想将其绘制到小程序的屏幕上,以便它可以在 WIN、LINUX、MACOSX 等中工作。
是否有可用的字体可以实现这一点,或者我应该以某种方式绘制它,如何?
g2d.setFont("SymbolFont??which one");
g2d.drawString(myenterSymbolHere,x,Y);
How can I display the graphical "enter symbol" within java applet ?
I want to show exactly "↵", which is U+21B5 DOWNWARDS ARROW WITH CORNER LEFTWARDS. –
I want to draw this to applet's screen so that it works in WIN, LINUX, MACOSX, etc.
Is there a font available that makes this possible or should I draw it somehow, how ?
g2d.setFont("SymbolFont??which one");
g2d.drawString(myenterSymbolHere,x,Y);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
CRLF 不是单个字符。它们是 CR(回车)和 LF(换行)字符,它们一起代表 Windows 世界中的换行符(大多数其他系统仅使用 LF)。
它们没有任何“官方”图形表示,因为它们是控制字符。
您可能指的是 Pilcrow (¶, U+00B6),它有时用于表示换行符(即使它实际上表示段落的结尾)。该字符是否可用完全取决于字体,但它的可用范围相当广泛。
CRLF is not a single character. They are CR (carriage return) and LF (line feed) characters that together represent a newline in the Windows world (most other systems use just LF).
They don't have any "official" graphical representation, because they are control characters.
You might be referring to the Pilcrow (¶, U+00B6), which is sometimes used to represent a newline (even though it actually indicates the end of a paragraph). Whether or not this character is available depends entirely on the font, but it is fairly widely available.
您是否正在寻找这样的东西,
␍␊
它是 Unicode 控制符号的一部分,您可以在这里找到它,
http://unicode.org/charts/PDF/U2400.pdf
Are you looking for something like this,
␍␊
It's part of Unicode control symbols and you can find it here,
http://unicode.org/charts/PDF/U2400.pdf