完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
当为标签或文本字段选择文本字符串的字体时,不是所有的UTF 16字符都支持这个字体吗?我有几个字体/文本字段的字体大小。我尝试了小写字母,我得到了一个小矩形。此外,我得到这个小数点的矩形。我需要做什么来修复这个?里克
以上来自于百度翻译 以下为原文 When I select a font for a text string for a label or a text field, aren't all of the UTF-16 characters supported with this font? I have Arial font sizes for several of my labels/text fields. I tried lower case letters and I get a small rectangle for them. Also, I get this rectangle for a decimal point. What do I need to do to fix this? Rick |
|
相关推荐
13个回答
|
|
|
你需要解释多一点…芯片LCD语言或只是使用一个鲨鱼和写在玻璃上:
以上来自于百度翻译 以下为原文 you need to explain a little more..... chip lcd language or just use a sharpie and write on the glass :) |
|
|
|
|
|
我不明白你在要求什么。我为字符串选择Arial字体类型,并在小写或小数点有字符串,当它显示在屏幕上的文本字段或标签对象时,字符是小矩形。
以上来自于百度翻译 以下为原文 I don't understand what you're asking for. I choose Arial font type for a string and have the string either in lower case or have a decimal point and when it's displayed in a text field or label object on the screen the characters are small rectangles. |
|
|
|
|
|
什么版本的和声?什么图形控制器?是否检查字体的导入设置以确保其正确?
以上来自于百度翻译 以下为原文 What version of Harmony? What graphics controller? Did you check the import settings on the font to insure it is correct? |
|
|
|
|
|
我使用的是和声2.03b.PIC32 MZ2064 DAB28,这是我为小数点和小写字符找到的问题。如果文本字段或标签最初没有与这些字符中的任何一个设置,则当写入文本字段或标签时,显示小矩形。我需要更改文本字段和标签的文本字符串。我发现,如果我有一个单词最初用所有的上限定义的标签,然后尝试改变这个单词的所有小写字母,我就得到了小的矩形。我可以走相反的方向,没有问题,有一个字一开始的小写,然后改变到所有的上限。我有一个输入数字的键盘。如果没有用小数点初始化的文本字段,则得到小矩形。如果我用小数点初始化文本字段,我会得到数字的小矩形。
以上来自于百度翻译 以下为原文 I am using Harmony 2.03b. PIC32MZ2064DAB288 Here is what I'm doing that has found this issue for the decimal point and also for lower case characters. If the text field or label hasn't been initially set with any of these characters, the small rectangles are displayed when these are written into the text field or label. I need to change the text string for text field and labels. I found that if I have the label initially defined with all caps for a word and then try to change to all lower case for this word, I get the small rectangles. I can go the opposite direction with no problem, have lower case for a word initially and then change to all caps. Also, for the decimal point. I have a keypad for entering numbers. If I don't have the text field initialized with the decimal point I get the small rectangle. If I initialize the text field with just the decimal point I get the small rectangles for the numbers. |
|
|
|
|
|
可能是您的问题与本帖中描述的解决方案有关:HTTP://www. MigCHIP.COM/FUMMS/FIXPOST/1007707两个引号:
以上来自于百度翻译 以下为原文 Could it be that your problem is related to the solution described in this post: http://www.microchip.com/forums/FindPost/1007707 Two quotes from that thread: |
|
|
|
|
|
我来看看是否定义自定义字符范围会起到作用。当我读过去的文章时,我没有看到这一点。我在你提到的帖子里发表了评论。
以上来自于百度翻译 以下为原文 I'll see if defining the custom character range will do the trick. I didn't see this when I read the post in the past. I made comments in the post you referenced. |
|
|
|
|
|
哦,对不起。我甚至没有注意到你已经活跃在另一个线程中。我只是想:“这听起来像是我几天前读过的一个问题。也许这条线在这里也能帮上忙。
以上来自于百度翻译 以下为原文 Oh, sorry. I haven't even noticed that you were already active in that other thread. I just thought: "This sounds similar to a problem, which I have read a few days ago. Maybe this thread can help here, too." |
|
|
|
|
|
您好,其他人都答对了,问题在您的字体过滤器中。可以重写这一点,并包括所需的范围。你也可以“欺骗”,只创建一个字符串,它拥有所有的字符,而不使用该字符串。在我们的应用程序AiaLaJavaSCASE中可以看到这样的例子,它有一个键盘输入示例。你也可以在A莉亚计数器应用程序中看到一个“欺骗”。
以上来自于百度翻译 以下为原文 Hello, The others have answered correctly, the problem is in your font filter. It is possible to override this, and include the range you want. You can also 'cheat' and just create a string that has all the characters, and not use that string. Examples for this can be seen in our app aria_showcase which has a keyboard entry example. You can also see the 'cheat' in a numerical example in the aria_counter app. |
|
|
|
|
|
所以我给一个特殊字体添加了字形。符号是程度。我选择了176个字形的基本拉丁语,它显示了程度符号。现在我需要输入一个字符串,如何把它放进一个字符串中?我尝试过ALT 176的方法,但我得到了。
以上来自于百度翻译 以下为原文 So I added a character to the glyphs for a particular font. The symbol is the degree. I selected 176 in the glyph for the Basic Latin and it shows the degree symbol. Now I need to have in in a string. How do I put this into a string? I tried ALT 176 method but I get ░. |
|
|
|
|
|
我尝试了一个备用的ALT 248和°出现在字符串中,但是当我选择它时,我得到一个小的正方形。我在字形中加了248。有趣的是,当为所选字体定义字形时,显示为176°。另一个符号是248。这些都是拉丁语的基本选择。
以上来自于百度翻译 以下为原文 I tried an alternate number ALT 248 and ° appeared in the string but I get a small square when I select it. I have added 248 in the glyphs. The interesting thing is ° is shown for 176 when defining in glyphs for the selected font. Another symbol is show for 248. These are in the Basic Latin selection. |
|
|
|
|
|
嗯,很多QWYTY和QWWTZKYBOLDS只是有一个关键的°。你们有什么键盘布局?不管怎样,请忽略文章,但是看看下面的链接表,了解为什么你得到:http://www. Irangeek.com……-COMBOS和图表。HTMLIT的ALT + 0176为°.PS:Windows有一个程序,叫做“字符表”,它允许你复制所有字符,并告诉你ALT组合。离子。
以上来自于百度翻译 以下为原文 Well, many QWERTY and QWERTZ keybords just have a key for °. What keyboard layout do you have? Anyway, ignore the article but look at the table at the following link to understand why you get ░: http://www.irongeek.com/a...-combos-and-chart.html It's ALT+0176 for °. PS: Windows has a program called "character table" which allows you to copy all characters and which tells you the ALT combinations. |
|
|
|
|
|
即使使用ALT + 0176°,当它出现在字符串中时,当我选择在标签中显示这个字符串时,仍然会得到一个小的正方形。
以上来自于百度翻译 以下为原文 Even using ALT+0176 for ° with it appearing in the string I still get a small square when I select to display this string in a label. |
|
|
|
|
|
我发现程度符号没有显示在我选择的字体中。当我选择另一种字体时,它出现了。我用的是小号的。尺寸越大,效果越好。
以上来自于百度翻译 以下为原文 I found that the degree symbol isn't displayed in the font I selected. When I chose another font it appeared. It was a smaller size I was using. The larger size worked fine. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
503 浏览 0 评论
5812 浏览 9 评论
2350 浏览 8 评论
2237 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3544 浏览 3 评论
1161浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1122浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
890浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
507浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-14 10:18 , Processed in 1.643319 second(s), Total 96, Slave 79 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1679