revFontLoad, Unicode and Windows post-XP ?
richmondmathewson at gmail.com
Wed May 29 11:26:11 CDT 2013
On 05/29/2013 03:31 PM, Warren Samples wrote:
> On 05/29/2013 07:09 AM, Richmond wrote:
>> Those chars that are in the standard Unicode places are substituted for
>> a standard Windows-native font,
>> but those in the PPU area are left as they are, kerning rules in either
>> the font or inwith Livecode itslef are over-ridden by Windows; something
>> that does not happen with Macintosh, Linux or Windows XP.
>> From my point of view, at least, this is a "show stopper" for Windows
>> V, 7 and 8.
>> I have been digging around in the LC Documentation and found
>> 'revFontLoad' which looks
>> as though it might be a possibility, except that it seems to rely on
>> absolute paths, when one cannot rely
>> on an end-user putting one's homegrown font exactly where one wants it
>> to be.
>> I would be grateful if anybody who has run up against this or similar
>> problems and has found a way to circumvent them could let me (and the
>> use-list!) know of how they coped with this.
> Richmond, you've been trying get help with this for some time now and
> I don't recall seeing anyone respond with anything really helpful for
> you. I suspect that it's because your project and your problem are
> rather specialized. What happens if you use your font in some other
> app? Does it work as you would expect it to in other apps or do you
> get the same substitutions? Is it a LiveCode issue or maybe a Windows
> issue? Does using revFontLoad resolve the problem on a test machine?
I installed my font in C:/Windows/Fonts/
and then put this in my openStack script:
and Flipping Windows still substitutes its own Flipping Font and its own
Flipping kerning rules because it always overrides this sort of thing.
[ 'Flipping' may, just possibly, be a synonym for another word that
starts with F ]
One of the very many reasons why I use Linux and Macintosh.
Obviously, somewhere down the line, Microsoft (as usual) decided they
wanted to enforce their "one size fits all" policy with
Unicode fonts and how they behave.
My program over-rides 'standard' kerning rules for Devanagari script
because to function the way it does that is a necessity.
Apple don't enforce any rules (i.e. their Devanagari rules go to sleep
once my program wakes up), and Linux probably doesn't
have any rules (Yay!!!).
This is the reason why, when I saw Windows 3.1 versus Mac OS 7.0 in 1993
I went for Macintosh, and the reason why,
when I found I could no longer keep up with the vast prices Apple are
asking for their hardware I went for Linux rather
The problem ( and it is a problem) is that something like 90% of
potential end-users are running a version of Windows on their machines.
While, right now, this may be a problem just for me, sooner or later
somebody else using Livecode is going to come
up against the same show stopper. And while it is really very easy to
say "bu**er Microsoft", confining one's output to Macintosh and
Linux alone is, well, confining :(
> If you install the font using a script, you should be able to control
> where it goes. Why not out install it where Windows expects user
> installed fonts to be? Perhaps you could find a a utility to make a
> proper Windows installer and have it put your font where it needs to go?
> Good luck!
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode