Bizarre behaviour! (was: Saving a font as a custom property)

2012-02-17 Thread Lars Brehmer
I just noticed a few typos that made this post hard to understand correctly, so here it is again. First of all, thank you very much Mark for this: > Hi Lars, > > The save command is only for stacks. You need to use the write or put URL > command. Make sure to open the file for binary write or

Re: Bizarre behaviour! (was: Saving a font as a custom property)

2012-02-17 Thread Mark Schonewille
Hi Lars, If you have a close look at the htmlText property, you might notice some important differences when you switch font sizes. It is possible that at one particular size no font size is given at all or perhaps even the font information is missing completely. You might try to set the textF

Bizarre behaviour! (was: Saving a font as a custom property)

2012-02-17 Thread Lars Brehmer
First of all, thank you very much Mark for this: > Hi Lars, > > The save command is only for stacks. You need to use the write or put URL > command. Make sure to open the file for binary write or start the URL with > bin file. I now have my fonts stored as custom properties, and when the stac

Re: Saving a font as a custom property

2012-02-17 Thread Marty Knapp
Lars, Here's a couple of routines I use that may help you: on saveFont answer file "Choose a font to embed:" if it is emtpy then exit to top set itemDel to "/" set the uFontName of this stack to last item of it --save the name set the uEmbeddedFont of this stack to URL ("binfile:"

Re: Saving a font as a custom property

2012-02-17 Thread François Chaplais
does it work if you save the font as a file first (using the URL scheme, for instance?) François Le 17 févr. 2012 à 18:33, Lars Brehmer a écrit : > I have been fooling around with revFontLoad in Windows for quite a while now > with varying degrees of succes, nostly very little. I found an old po

Re: Saving a font as a custom property

2012-02-17 Thread Klaus on-rev
Hi Lars, Am 17.02.2012 um 18:33 schrieb Lars Brehmer: > I have been fooling around with revFontLoad in Windows for quite a while now > with varying degrees of succes, nostly very little. I found an old post that > suggested saving the font as a custom property, and then when the application >

Re: Saving a font as a custom property

2012-02-17 Thread Mark Schonewille
Hi Lars, The save command is only for stacks. You need to use the write or put URL command. Make sure to open the file for binary write or start the URL with bin file. An easier way might be to use Installer Maker to include your fonts with your software and have them installed correctly. You

Saving a font as a custom property

2012-02-17 Thread Lars Brehmer
I have been fooling around with revFontLoad in Windows for quite a while now with varying degrees of succes, nostly very little. I found an old post that suggested saving the font as a custom property, and then when the application loads, saves that custom property as its original font. So far s