本文介绍了带“ f”的文本在“ i”之后,看不到“ i”(无字体)上的点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个按钮,其中有文本发送文件,但是我看不到 i顶部的点。我使用的是默认字体(据我所知,它是 sans,但是如果我输入错误,请更正)。

I have a Button in which there is the text "Send files", but I cant see the dot on the top of the "i". I am using the default font (which is "sans", as far as I understand, but correct me if I am wrong).

这里是 xml 用于我的 Button

            <Button
                android:id="@+id/button_send_files"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:layout_marginBottom="5dip"
                android:padding="20dip"
                android:text="Send files"
                android:textColor="@color/black"
                android:textSize="24sp"
                android:textStyle="bold" />

如果某人有某种技巧在 i上显示圆点,那将是很大的,因为它目前很难看...

If someone has some sort of trick to display the dot on the "i", it would be grea, because it's ugly as it is for now...

我正在使用Nexus 7,如果可以的话。

I am using a Nexus 7, if it can help.

推荐答案

您看到的是一个表示'f'+'i'字符组合的字形。通常,独立的 f +独立的 i的组合最终会发生冲突: f的突出部分会与 i的点相撞。

What you are seeing is a ligature glyph for the combination of 'f' + 'i' characters. Frequently, the combination of the standalone 'f' + standalone 'i' will end up in conflict: the overhanging portion of the 'f' will collide with the dot of the 'i'.

使用连字字形来表示字符组合可以使字体设计者避免冲突。在这种情况下,字体设计师选择省略 i的点。在其他字体设计中, i的点将保留,但 f的突出部分的长度将更改,以避免碰撞。如果您检查其他一些字体设计,包括 f和 i的连字,您会看到这些不同的视觉效果。由于这是字体设计的决定,因此很难将其描述为错误。更像是不良设计(我同意您的看法,它看起来不太好)。

The use of a ligature glyph to represent the combination of characters allows a font designer to avoid a collision. In this case, the font designer opted to omit the dot of the 'i'. In other font designs, the dot of the 'i' will stay but the length of the overhanging portion of the 'f' will change so as to avoid a collision. If you examine some other font designs that include a ligature for 'f' + 'i' you will see these different visual treatments. As this is a font design decision, it's difficult to characterize this as a "mistake"; more like "bad design" (I agree with you that it does not look very good).

这篇关于带“ f”的文本在“ i”之后,看不到“ i”(无字体)上的点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 15:05