Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Comments on How does Caveat work?

Post

How does Caveat work?

+5
−0

One of the fonts available (to me) on Google Docs is Caveat. The following is in 18-point Caveat on Google Docs:

(sample)

I found that Caveat is available at https://github.com/googlefonts/caveat/tree/master/fonts/TTF, from which I downloaded it. I then typed the same text in Microsoft Word and this resulted:

(sample)

Notice that, in the latter screenshot, each letter has the same shape wherever it appears. In the former, however, there are multiple shapes for the same letter. My question, then, is twofold:

  1. Why the difference? Why doesn't the font appear the same way in both places?

  2. In the first screenshot, the same letter appears in very similar contexts but with different shapes. What determines the shape each time? In other words, what rules are applied for each letter to determine which shape it will have?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (3 comments)
General comments
elgonzo‭ wrote over 4 years ago · edited over 4 years ago

Note that variant glyphs is NOT a feature of TrueType fonts. It is a feature of OpenType. The Caveat font is also available as OTF (https://github.com/googlefonts/caveat/tree/master/fonts/OTF). However, i have no insight into OpenType's glyph variation rules nor to which degree OTF's are usable in Word. Thus, i would like to leave an answer to somebody who can address your question more thoroughly...

msh210‭ wrote over 4 years ago

Thanks, @razetime !