Need Help with Handwriting Font

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Need Help with Handwriting Font

Post by Psymon »

Erwin Denissen wrote: Mon Sep 21, 2020 4:34 pm If your glyph has a Unicode name, then it is mapped to a codepoint. I wonder what character it is.
Oh, so you mean it's not so much for my own use, but rather to make it more user-friendly for the end-user? My glyphs are mapped to a codepoint because I'd like people to be able to access them if they don't have OTF-capable software -- I can just change the name of a particular glyph in the Glyph Properties box (without touching the codepoint), right?

You have me thinking that I also have all these ligatures (especially in my other fonts more than this one) which don't have very descriptive names, but could probably use them.

If I change the name for a glyph in the Glyph Properties box, then does that change get reflected in the ligature lookups, classes, and wherever else, too, without my having to then go have to also edit those?

I'll definitely go back and change all the glyph names for my ligs in all my fonts, if that's the case. :)

Re that @latn_letters class...
It is fine to have a glyph in more than one class. It is only an issue when you use them in class based kerning.
Oh! Okay.

Then I'm still not quite sure what to put in that @latn_letters class -- do I put, like, literally every single character that I have, basically the whole, entire set of latin letters, numbers, punctuation, not to mention all the accented/extended characters and everything -- indeed, basically "everything," including the new alternate enders themselves, too, except for the space/nbspace characters (and notdef, etc., of course)?
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Need help with Handwriting Font

Post by Erwin Denissen »

Psymon wrote: Thu Sep 24, 2020 5:05 am I can't find any info anywhere for how to do this stuff -- I can't even find a definition of "Backtrack." Searching the forums yields no results (apart from this thread, here) and there's nothing in the FC help about it, either.

Where does one go to learn how to do this stuff? I'm not saying that to be critical, rest assured, I'm genuinely asking quite sincerely -- where does any aspiring type designer go to learn how to use these sorts of features in this program?
The FontCreator documentation is indeed not very extensive on this subject, but the backtrack is used in an example here:
OpenType Designer - Chained Context
Erwin Denissen
High-Logic
Proven Font Technology
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

I've googled all over the 'net, read tutorials for entirely different software -- all to no avail.

And so I've been approaching this like a puzzle -- like one of those games where you have to solve a mystery, where you must find the key to unlock the correct door in order to receive your reward -- and no matter what I try, I keep losing.

Surely someone out there has done this before, i.e. done contextual alts for both beginning letters and ending letters?

For the life of me, I can't figure out how. :roll:
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

Okay! Further to my last reply, I just finished re-reading that other thread you shared here earlier, Erwin, from beginning to end. Of the 4 pages of discussion there, only the first one really deals with contextual alternates, and the rest is all about kerning and other issues the guy had.

Which is fine, of course, but on that first page, you basically just handed the guy a script to install -- and I can't just replace my script with yours, of course, because then I'd lose, well, everything.

And then further down that first page, I see a screenshot of the OTD, and I can see the structure in the "tree" on the left, but I have no idea how you got there, what the steps were, what things you entered in this box and that box -- and that's what I want (need) to know, i.e. how you got there, step-by-step.

And I tried eeeeeeverything I could think of all last night, and I just couldn't get anything to work correctly -- so basically, I'm as stuck now as I was before. :roll:
PJMiller
Top Typographer
Top Typographer
Posts: 977
Joined: Tue Jun 16, 2015 8:12 pm
Location: Sheffield, South Yorkshire
Contact:

Re: Need help with Handwriting Font

Post by PJMiller »

One interesting idea for a font like this might be to make slight variations of letters, then use the random function to select which variation is used.

This would make it so that the same letter would look different in different places on the page and this would make it look more handwritten.

Yes I know it's a lot of extra work but it's just an idea. Take it or leave it.
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Need help with Handwriting Font

Post by Erwin Denissen »

Psymon wrote: Sat Sep 26, 2020 7:37 am Okay! Never mind my last reply -- I got it! And once I got it, I couldn't believe how dumb I've been, how much head-scratching and hair-pulling I went through, when the solution seems so simple to me now. :shock:

With that said, though, I noticed in that other thread that the guy had a "ChainingContextBetween" one -- is that for swapping letters in the middle of words, I gather?

I was wondering about that, actually. I have my lowercase "t," with a rather long crossbar, but it intersects with where the dot is on the "i."

Can I set up a substitution so that if an "i" is adjacent -- on either side -- of a "t" then it gets swapped out for an "i" with the dot up a bit higher?

I know how to do substitutions for first and last letters in a word now, but I don't know how to do something in the middle of a word like that.

(If perchance you want to download/try out the latest version of my font, you can do so via the links in my first/original post here. I've got a bunch of "ender" glyphs now, but for "beginner" glyphs I only have an "s" and "w" so far.)
I am glad to know you are getting more experienced with OpenType layout features.

To make a contextual substitution in the middle of a word, just add a backtrack, input, and a lookahead.
Erwin Denissen
High-Logic
Proven Font Technology
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

Oh, I thought these things "had" to have 2 rules. Okay, clearly I'm not getting this as well as I thought I was, and need to revisualize the whole thing.

I'll be back... :roll:
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

Okay! Thanks for straightening me out on that, Erwin -- I think it's all working correctly now.

Here it is again (attached) -- although obviously this is nowhere near the final version yet (the latest version will always be via the link in my original post here), but in case anyone is curious to see what I ended up with here.
Attachments
Walden.ttf
(614.97 KiB) Downloaded 257 times
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Need help with Handwriting Font

Post by Erwin Denissen »

Yes, this is looking great!
Walden.png
Walden.png (178.52 KiB) Viewed 7280 times
You are no longer a novice, but in case you missed this tutorial:
Enrich Your Fonts with OpenType Features

It shows a mirroring character in Contextual Alternates.
Erwin Denissen
High-Logic
Proven Font Technology
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

Erwin Denissen wrote: Sat Sep 26, 2020 8:49 pm Yes, this is looking great!
Oh, thanks! I personally don't feel as though it's anything spectacular, as far as script/handwriting fonts go -- there's so many far more "beautiful" fonts like out there, after all -- but that wasn't my goal, of course. I was striving simply to have it look like Thoreau's handwriting, but I guess I can't complain because what with these enders, etc. that I've added in recently, I've greatly exceeded my own expectations for this.
You are no longer a novice, but in case you missed this tutorial:
Enrich Your Fonts with OpenType Features

It shows a mirroring character in Contextual Alternates.
Well, I still feel like a novice -- or at least, maybe I'm "intermediate," but definitely not an expert -- but indeed, that mirror thing looks interesting! I don't know where/how I might use it on this font, since the letters are at such an angle that they don't flip over very well, but I could see maybe using it on my Alde blackletter or roman fonts in places, for sure!

I also had no idea that that "Generate and Update OpenType Features" thing even existed, too! Gee, there's so much to this program that I don't know -- definitely not an expert. ;)
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

I just had to say... I'm just absolutely giddy with delight over what I've learned over this last week, and how it's truly transformed my font completely! I thought I wasn't doing too badly at trying to create a font out of Thoreau's handwriting before I started getting into these contextual alts, but now that I've done so, it's truly taken my font to a whole new level! All sorts of "problematic characters" that I couldn't get connecting together very well before, so many imperfections that I'd basically just surrendered to accepting as unresolvable, I've now been able to fix up quite easily, and my font seems to work really well, with letters fitting nicely together better than I ever dreamed of.

Indeed, I genuinely dreamed of making a font of Thoreau's handwriting for decades, and just never bothered to try because I simply thought it would be impossible -- and I'm just flabbergasted that now I've actually done it!

Thanks so much for this wonderful software, Erwin, not to mention all your help in these forums (and outside, too!), along with Bikkhu and PJ and everyone else who has helped me over the years to make ALL my "type-ical" dreams come true! :D
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

Okay, I've made tons of headway with my font, but what's going on here?

If I type the word "wœvres" or "vroom" in FC then it comes out like it should -- with the "vr" combination swapping out the "r" for "r.alt" -- and it works fine in FC, but not when I run a WOFF test.

The issue seems to be somewhere with that "vr" combo -- I can't figure out why it works in FC but not embedded in a web page??? :roll:

Attached is my font, as it is now...
Attachments
Walden.ttf
(646.15 KiB) Downloaded 256 times
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

I'm still stumped on my previous question, so in the meantime I popped open the very first font I ever did, way back 20 years ago or so, of my own handwriting, and which I'd never really finished up. That one has no opentype features at all, no kerning or anything, and I remembered something I saw that you mentioned earlier, Erwin...
Erwin Denissen wrote: Sat Sep 26, 2020 8:49 pm You are no longer a novice, but in case you missed this tutorial:
Enrich Your Fonts with OpenType Features
Near the beginning of that page, just before the first screenshot you see, there's a paragraph that reads: "Within the OpenType Designer window click the first icon from the upper left corner to open the Generate and Update OpenType Features window. You will now be able to select which features you want to generate and/or update."

And then there's the screenshot -- but I can't find any sort of menu/dialog like that. In the OTD, the "first icon from the upper left corner" is the big + sign, to add a new script, but not a thing to add a bunch of basic stuff (that you select from) all at once.

Where do I find that "Generate and Update OpenType Features" dialog box?
Psymon
Posts: 444
Joined: Wed Mar 30, 2011 5:50 pm

Re: Need help with Handwriting Font

Post by Psymon »

Well, I'm back again, to make more of a pest of myself! :lol:

Does nobody know the answer to my previous problem, re that "vr" contextual alt working okay in FC, but not when you do a WOFF test? I seem to have been on hold with working on that font, ever since that problem arose. If it helps at all, the lookups in question are "ChainingContextv" and "SingleSubstitutionv" (note the "v" at the end of both). Everything else seems to work just fine in the WOFF test -- I haven't come across anything else weird happening yet, anyway -- but just that one combination. Works fine in FC, but not in the WOFF test.

But anyway, just to complicate matters more, here's another dilemma! While taking a hiatus the last few days from my Walden font, I thought I'd open up the very first font I ever made, 20-odd years ago, of my own handwriting, and see if I could finally finish that up after all these many years, and maybe add some OT stuff, too.

I think the easiest way to explain my latest query to this forum is graphically, to actually show you the problem...

Thoreau-Falsum Comparison 1.jpg
Thoreau-Falsum Comparison 1.jpg (337.73 KiB) Viewed 7187 times
Thoreau-Falsum Comparison 2.jpg
Thoreau-Falsum Comparison 2.jpg (298.04 KiB) Viewed 7187 times

I assume that to fix up my Falsum font so that it matches up nicely with my Walden font (in that direction, not the other way around), then it's a matter of changing my WinAscent and WinDescent of the former to match up with the latter? Is that all it takes? Do I have to change the x-height and capheight, too?

I have NO idea what to do, what the easiest/best way is to go about this, and I don't want to screw anything up.

ALSO, as you probably noted in the above image samples, one other thing I need to do is get both fonts to match up to the baseline better -- but I can just use that "Move" function in the glyph transformer for that, right, and just bump up the entire font a tiny bit all at once?

Lastly, is this a dumb idea, what I'm trying to do here? :mrgreen:
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Need help with Handwriting Font

Post by Erwin Denissen »

It seems class0 is not working as expected. We are not sure if it is a bug in FontCreator, but for now better avoid it.
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply