So, I am getting UI development in Android and as I started reading
TextView attributes, I found an attribute called typeface. I then searched the technical differences between a font and a typeface my understanding boils down to this:
Typeface(or a font-family) is defined by a set of symbols(or glpyhs) having a defined meaning and fundamentally typefaces differ in the unique shape/design of the glyphs it will have.
Whereas, a Font(for a typeface or font-family) is a very specific set of symbols that have certain attributes on top of the typeface characteristics.
Now, I think I fairly understand the differences between the two but what confused me is the following:
- Since Bold, Italic are Font styles, they apply to a font, are they also TypeFace modifiers? I mean, is it possible for a typeface to have a font attribute?
- The attribute I mentioned has (normal, sans, serif, monospace) provided as possible values. Is Monospace or a serif a typeface attribute and only applied at Typeface level. So for example, I cannot change Times New Roman typeface to be a sans-serif without changing the entire typeface. But applying a font-style doesn't seem to change the entire typeface.
Is there a concept like font-only modifiers/attributes and typeface-only modifiers and I cannot apply one to the other?