How to make a contextual cursive font

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: How to make a contextual cursive font

Post by Erwin Denissen » Mon Oct 19, 2015 11:34 am

Jonne Haven wrote:If it helps I have the Font Export Settings as "Outline Format" = CFF (Postscript)
Opentype Layout Features = Yes.
It is also possible you are using the font install feature of FontCreator, but it really doesn't matter how you name the registry entry, as long as the data points to a font file.
Erwin Denissen
High-Logic
Proven Font Technology

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Mon Oct 19, 2015 12:20 pm

Erwin,

I mostly use the install in FontCreator. I also tried exporting to a font file and installing from there. It doesn't seem to matter. I always open it as administrator. If it helps, I don't think it matters which way I install it, my registry thinks it's truetype. Thanks for your help, I'm having fun learning how to interpret code and learning from you. This last set of code is quite complex and I thank you again.

Jonne

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Mon Oct 19, 2015 12:23 pm

Now I go through the hell that is kerning all of this!

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Sun Nov 01, 2015 5:17 am

Erwin,

I've learned so much from you, especially about code. I wanted to extend my gratitude for your quick responses to my unique problems. I've made some changes to the code to accommodate some glyph abnormalities and some issues with apostrophes, you can check it out in the attachment. I felt like superman using your code successfully, it's great to get to the innards of your program. So here is a small token of my appreciation!
The attachment Jonne and Erwin's Code.txt is no longer available
Thank You Erwin.jpg
Thank You Erwin.jpg (135.57 KiB) Viewed 3628 times

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: How to make a contextual cursive font

Post by Erwin Denissen » Sun Nov 01, 2015 8:27 am

I'm glad to know you appreciate our software and our support!

You are making great progress and I look forward to see the final result.
Jonne Haven wrote: I felt like superman using your code successfully, it's great to get to the innards of your program. So here is a small token of my appreciation!
Thank you; you make my day :D
Erwin Denissen
High-Logic
Proven Font Technology

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Wed Nov 11, 2015 3:39 pm

Help Erwin!

I tried to install font and I get "argument out of range". I've tried Truetype and CFF with same results. I'm including the font file. Please help, I'm a bit freaked out!
Melanie Camille.fcp
Thanks ahead of time.

Jonne

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Wed Nov 11, 2015 3:40 pm

Oh and I've installed the update you sent me, it didn't fix the problem.

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Wed Nov 11, 2015 4:26 pm

Erwin,

After searching through the code I found the problem entry, it's attached. It was an argument pointing nowhere. I'm so relieved!

I'm sure you would have spotted it in an instant.

Thanks,

Jonne
Problem Argument.jpg
Problem Argument.jpg (411.26 KiB) Viewed 3593 times

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: How to make a contextual cursive font

Post by Erwin Denissen » Wed Nov 11, 2015 6:00 pm

I noticed it while debugging, but for me it is still a bug in FontCreator too, that needs to be fixed.

I'm surprised you found it!
Erwin Denissen
High-Logic
Proven Font Technology

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Tue Dec 01, 2015 5:24 pm

Erwin,

Again I'm freaking out and need your help again. The font doesn't work in Word 2010 or Word 2013. I type in one word with the font and it changes the next word to times new roman or courier. Attached is how I intended the font to look. But I can't seem to get word to use this font with any consistency.

I primarily use Word so it's a big deal that I get it to work in that program. I have tried using Postscript and TTF with the same results. I have a feeling I've done something wrong in the code but I don't know what it is. It's really bad right now. I used to be able to type until I got to an apostrophe, then it would switch to a different font. Now I can only type one word before it changes.

Help is appreciated.

Jonne
I was.pdf
(147.48 KiB) Downloaded 114 times
I was.docx
(13.14 KiB) Downloaded 120 times

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Tue Dec 01, 2015 5:29 pm

Oh and here is the FC file.
Melanie Camille backup 3.fcp
Thanks ahead of time.

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: How to make a contextual cursive font

Post by Erwin Denissen » Tue Dec 01, 2015 5:42 pm

I don't have time to investigate the font, but I suspect this is happening:

Word auto-magically replaces plain quote characters with smart quotes, which are not included in your font. And while Word tries to be smart, it then decides to use a fallback font :?

You can add "left and right single quotation marks" through the Insert Characters feature. And while you are at it, better also include these:

left single quotation mark $2018
right single quotation mark $2019
left double quotation mark $201C
right double quotation mark $201D
horizontal ellipsis $2026

So codepoints are:
$2018, $2019, $201C, $201D, $2026
Erwin Denissen
High-Logic
Proven Font Technology

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Tue Dec 01, 2015 10:43 pm

Erwin,

I know you're a busy man and I don't want to be a nuisance but let me bring you up to speed on my font so that when you have the time you can see what you can see. I've changed all the Microsoft Settings for the 'smart' quotes'. BTW, I did have all the left right double single quotes in this version. This did not fix the problem. I've gone back several versions of the the program until it worked. I've attached the working file if it helps. I tried integrate these two versions, one with all the updated glyphs and one with the code, but that turned out to be a mess.

So when you have the time, please, I need your help.

Thanks
Melanie Camille Bold Possesive Nouns Alphabet latest working version.fcp

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: How to make a contextual cursive font

Post by Erwin Denissen » Tue Dec 01, 2015 11:13 pm

I see. You removed the first couple of glyphs, and especially the first (.notdef) is extremely important. I urge you to put it back (just insetrt a glyph at the top and provide a meaningful outline) and see if that solves the problem.
Erwin Denissen
High-Logic
Proven Font Technology

Jonne Haven
Posts: 407
Joined: Wed Sep 30, 2015 12:02 pm
Location: Kaneohe, Hawaii, USA

Re: How to make a contextual cursive font

Post by Jonne Haven » Wed Dec 02, 2015 2:07 am

Funny I don't remember deleting any of those important glyphs. I have copied and pasted the .notdef from a working font of mine but as you can see the results are a bit unusual.

Thanks,
notdef.jpg
notdef.jpg (876.38 KiB) Viewed 3559 times

Post Reply