Re: [ft-devel] GETVARIATION and GETDATA

2016-08-17 Thread Alexei Podtelezhnikov
On Tue, Aug 2, 2016 at 12:49 AM, Behdad Esfahbod wrote: > I don't know the names, and don't think they were shipped by Apple. > They are fonts that were popular-enough at certain times in certain > locales ... In case somebody wants to go on a fishing expedition for rare instructions. 'ftdump' c

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-08 Thread Hin-Tak Leung
On Mon, 8/8/16, Alexei Podtelezhnikov wrote: > After stringing a lot of old MacOS executables, RoyalT seems to be the only one with GETDATA diagnostics. It is certain that GETDATA took some selector. Perhaps it is possible to play with RoyalT and f

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-08 Thread Werner LEMBERG
> I digged my archives and found this using Basilisk on OSX and > System 8.1: Very nice! Hin-Tak, this seems the way to go for you :-) Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/free

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-07 Thread Hin-Tak Leung
On Sun, 7/8/16, Alexei Podtelezhnikov wrote: > If it quacks like a duck and walks like a duck... Could GETDATA be just an early version of GETINFO back then? Possibly not. RoyalT already had GETINFO then. I am just doing old-fashioned "strings" on

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-07 Thread Alexei Podtelezhnikov
>> GETDATA is documented as 'get various bits of information' (very >> informative...!) and apparently takes a selector as a parameter, >> and only a range of values are valid. > > Ah, I wasn't aware that it takes an argument. If it quacks like a duck and walks like a duck... Could GETDATA be

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-07 Thread chris
On Sun, 07 Aug 2016 08:35:19 +0200 (CEST), Werner LEMBERG wrote: > Isn't there any emulator for an 68k Mac machine? Yes, there are several. I use two of them. There is Mini vMac which is a quite nice Mac Plus running up to System 7.5.5. Then there

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-07 Thread Hin-Tak Leung
On Sun, 7/8/16, Werner LEMBERG wrote: > > It appears that the apple font edior of that era, RoyalT, is capable > of manipulating the GETVARIATION and GETDATA instructions. > Interesting.  It would be definitely worth to get this program running

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-06 Thread Werner LEMBERG
> It appears that the apple font edior of that era, RoyalT, is capable > of manipulating the GETVARIATION and GETDATA instructions. Interesting. It would be definitely worth to get this program running! Isn't there any emulator for an 68k Mac machine? > GETDATA is documented as 'get various bi

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-02 Thread Alexei Podtelezhnikov
On Tue, Aug 2, 2016 at 1:54 AM, Hin-Tak Leung wrote: > GETDATA is documented as 'get various bits of information' > (very informative...!) > and apparently takes a selector as a parameter, and only a range of values > are valid. > > GETVARIATION is 'get variation coordinates' . > > The RoyalT bin

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-01 Thread Hin-Tak Leung
Hi, I extracted a few of things from the apple QuickDraw_GX dev mirror Alex sent. I haven't looked at the fonts themselves yet - was mostly extracting the docs, sample codes, tools with their docs, etc. It appears that the apple font edior of that era, RoyalT, is capable of manipulating the GET

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-01 Thread Werner LEMBERG
> I don't know the names, and don't think they were shipped by Apple. > They are fonts that were popular-enough at certain times in certain > locales that Apple had to put a hack into their engine to make them > working when they decided to turn the hinting engine off. I guess it's one of the `tr

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-01 Thread Behdad Esfahbod
On Mon, Aug 1, 2016 at 7:11 PM, Hin-Tak Leung wrote: >> This > is to make the Chinese > > fonts that draw > the glyph in their hint instructions to work. So, > > you can grab one of those and modify to > inspect the return value of > > this > instruction. > > Behdad, > > Do you have any re

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-01 Thread Hin-Tak Leung
> May I encourage you to get Fonts folder from System 7.5 when GX was introduced ( http://igsi.tripod.com/mac/index.htm ). Perhaps those files will shed some light on GETDATA. Here is decent instructions on how to get to that folder ( http://apple.stackexchange.com/questions/58243/can-i-get-th

Re: [ft-devel] GETVARIATION and GETDATA

2016-08-01 Thread Hin-Tak Leung
> This is to make the Chinese > fonts that draw the glyph in their hint instructions to work.  So, > you can grab one of those and modify to inspect the return value of > this instruction. Behdad, Do you have any reference/names for those fonts? I have extracted all the fonts shipped on 1

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-19 Thread Behdad Esfahbod
On Tue, Jul 19, 2016 at 10:08 PM, Hin-Tak Leung wrote: > > On Sun, 17/7/16, Behdad Esfahbod wrote: > > ...This is to make the Chinese fonts > that draw the glyph in their hint instructions > to work. > > which one, and what vintage? You may not notic

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-19 Thread Hin-Tak Leung
On Sun, 17/7/16, Behdad Esfahbod wrote: ...This is to make the Chinese fonts that draw the glyph in their hint instructions to work.  which one, and what vintage? You may not notice, but I did run the font validator on all the fonts shipped by Appl

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-18 Thread Alexei Podtelezhnikov
>> >> OK, added to git. Behdad says this always returns 17, so the implementation >> was trivial. > > Oh, I though Behdad was just being humorous about 42 / 17? > > Just trimmed and forwarded the old e-mail. The two files should have md5sum > > md5sum LaoUI* > b4ece38d8537d1a15ac9d133353d2

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
>> 42 was my suggestion to use instead of 17 :-) > > There actually is a way to test this, if you want: under certain > circumstances, OS X runs the hints. This is to make the Chinese > fonts that draw the glyph in their hint instructions to work. So, > you can grab one of those and modify to i

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
[You have a really strange citation style. What e-mail program are you using?] >> And now I remember again: The font is OK, there are *no* >> undocumented instructions at all! It properly uses IDEF >> everywhere. While unusual, this is fully valid bytecode, even on >> MS engines. In other wor

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Hin-Tak Leung
On Sun, 17/7/16, Werner LEMBERG wrote: > And now I remember again: The font is OK, there are *no* undocumented instructions at all!  It properly uses IDEF everywhere.  While unusual, this is fully valid bytecode, even on MS engines.  In other wor

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
> Sorry, I think the 17 (or pushing one value onto the stack) is > wrong. Yes. > I just added that push, and now I get piles and piles of > instruction under flow errors, analysing those two fonts. Yes, because the 0x92 IDEF is no longer seen. > Assuming the font is mostly correct I think it

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
>>> Please send me the LaoUI.ttf version privately > > Thanks! And now I remember again: The font is OK, there are *no* undocumented instructions at all! It properly uses IDEF everywhere. While unusual, this is fully valid bytecode, even on MS engines. In other words, Microsoft removed suppor

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Hin-Tak Leung
Sorry, I think the 17 (or pushing one value onto the stack) is wrong. I just added that push, and now I get piles and piles of instruction under flow errors, analysing those two fonts. Assuming the font is mostly correct and intended to work correctly on apple platform... __

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Behdad Esfahbod
On Sun, Jul 17, 2016 at 2:10 PM, Werner LEMBERG wrote: > >>> Behdad says this always returns 17, so the implementation was >>> trivial. >> >> Oh, I though Behdad was just being humorous about 42 / 17? > > 42 was my suggestion to use instead of 17 :-) There actually is a way to test this, if you w

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
>> Behdad says this always returns 17, so the implementation was >> trivial. > > Oh, I though Behdad was just being humorous about 42 / 17? 42 was my suggestion to use instead of 17 :-) >> Please send me the LaoUI.ttf version privately Thanks! Werner ___

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Hin-Tak Leung
On Sun, 17/7/16, Werner LEMBERG wrote: > OK, added to git.  Behdad says this always returns 17, so the implementation was trivial. Oh, I though Behdad was just being humorous about 42 / 17? > Please send me the LaoUI.ttf version privately (again,

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
> There is a GETDATA instruction also... > > You have heard of it, from me :-). OK, added to git. Behdad says this always returns 17, so the implementation was trivial. Please send me the LaoUI.ttf version privately (again, I seem to have lost the file) – the version I have no longer contains

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Hin-Tak Leung
On Sun, 17/7/16, Werner LEMBERG wrote: > I won't add this until I have more details; maybe you can contact someone from Apple? Well, somebody on this list from apple can speak up :-). For you, the only thing that matter is the 2nd block, replaci

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
GETDATA? Never heard of. > > Just return 42, or 17. Who cares? ;) OK. :-) Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Behdad Esfahbod
On Sun, Jul 17, 2016 at 1:11 PM, Werner LEMBERG wrote: >>> GETDATA? Never heard of. >> >> You have heard of it, from me :-). > > Ouch :-) > >> LaoUI.ttf Size 10, GETDATA, Glyph ID 263, At ByteOffset 345, > > Ah, now I remember. Faintly... > >> /* GETVAR */ PACK( 0, 0 ), /* will be hand

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
>> GETDATA?  Never heard of.  > > You have heard of it, from me :-). Ouch :-) > LaoUI.ttf Size 10, GETDATA, Glyph ID 263, At ByteOffset 345, Ah, now I remember. Faintly... > /* GETVAR */ PACK( 0, 0 ), /* will be handled specially */ > -/* INS_$92 */ PACK( 0, 0 ), > +/*

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Hin-Tak Leung
> > GETDATA?  Never heard of.  Do you have details? I dug up the e-mail from my out box. It was titled "Re: FontVal-dev slide Fw: Linux VM & CPU resources for font testing" Sunday, 25 October, 2015 16:22 to you and Behdad only; but with both of the font files, as well as the font report exce

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Hin-Tak Leung
> > There is a GETDATA instruction also... > GETDATA?  Never heard of.  Do you have details? You have heard of it, from me :-). I asked you about a year ago about the old Font Validator complaining a few microsoft fonts containing apple instructions. You said the report was bogus. It appear

Re: [ft-devel] GETVARIATION and GETDATA

2016-07-17 Thread Werner LEMBERG
> There is a GETDATA instruction also... GETDATA? Never heard of. Do you have details? Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel