revFontLoad, Unicode and Windows post-XP ?

Klaus major-k klaus at major-k.de
Wed May 29 09:10:42 EDT 2013


Hi Richmond,

Am 29.05.2013 um 15:06 schrieb Richmond <richmondmathewson at gmail.com>:

> 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.
>> 
>> 
>> 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?
>> 
>> 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?
> 
> Aha; well as a non-Windows user (except for the odd bit of testing) I would be most grateful if you could tell me where
> Windows expects user installed fonts to be, as I don't have a clue.

Default is the Windows FONTS folder -> specialfolderpath("Fonts")
:-)

But Livecode can load any font from ANYWHERE you put it.
So you could install the font into the users documenst folder, if only your app needs to use it.

>> 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!
>> 
>> Warren

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list