home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / atari / st / 11739 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  6.7 KB

  1. Xref: sparky comp.sys.atari.st:11739 comp.fonts:2197
  2. Newsgroups: comp.sys.atari.st,comp.fonts
  3. Path: sparky!uunet!mcsun!Germany.EU.net!uniol!tpki.toppoint.de!kris
  4. From: kris@tpki.toppoint.de (Kristian Koehntopp)
  5. Subject: SUMMARY: Calamus font trouble
  6. X-Copyright: (C) Copyright 1992 Kristian Koehntopp -- All rights reserved.
  7.          Reproduktion, auch auszugsweise, ausserhalb elektronischer,
  8.          nichtkommerzieller Datennetze nur mit ausdruecklichem,
  9.          schriftlichem Einverstaendnis des Autors.
  10. Organization: Toppoint Mailbox e.V.
  11. Date: Sun, 26 Jul 1992 17:58:57 GMT
  12. Message-ID: <1992Jul26.175857.24032@tpki.toppoint.de>
  13. References: <A5600@HB.maus.de> <A9208@MZ.maus.de>     <1992Jul23.035709.11573@magnus.acs.ohio-state.edu> <H.roaiWz2vock@jonh.wimsey.bc.ca>
  14. X-Excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN.
  15. Lines: 154
  16.  
  17. In <H.roaiWz2vock@jonh.wimsey.bc.ca> jhenders@jonh.wimsey.bc.ca (John Henders) writes:
  18. >    I beleive SL refuses to load fonts that have the string " Postscript" 
  19. >in the header, so a simple letter change can fix any font converted 
  20. >from postscript which puts this in the header. Use one of the many
  21. >available hex editors to change the files. 
  22.  
  23. Some time ago I let out a cry for help, because due to a serial
  24. number change I was unable to use my old serialized calamus
  25. fonts with my new version of calamus SL.
  26.  
  27. Many thanks go to the net, some people in Passau and in the
  28. Netherlands who shared facts, code and grief with me. Many
  29. thanks also go to borland for the turbo debugger, a really
  30. powerful tool for everyone who wants to find out about what
  31. really is going on within.
  32.  
  33. Thanks to you all who helped me to understand the calamus font
  34. format.
  35.     
  36. [ dmc flame on ]
  37.  
  38.     Finding out these details delayed productive work here
  39.     for about one week and blocked one desk and two persons.
  40.     Potential calamus customers should add this to the cost
  41.     for your copy of calamus if you consider buying this
  42.     program.
  43.  
  44.     The brain dead font serialization scheme of calamus
  45.     does stop you effectively from distributing your work or
  46.     building pipelines of workers. For examples we here
  47.     often get half baked documents from several other
  48.     people that have a sample page of layout ("I should
  49.     look like this!") and have to be finished by us.
  50.  
  51.     Since these people use fonts we don't need for our own
  52.     work, we do not have these fonts with our serial number
  53.     (we don't need them in our documents). To finish the
  54.     work and use their fonts with their documents we had to
  55.     install versions of their copy of calamus on our
  56.     harddisk. Maximum was four different copies of calamus
  57.     eating up valueable disk space. Sometimes we had
  58.     differing versions with different features and bugs and
  59.     us switching between them rapidly. This is not a
  60.     friendly working environment.
  61.  
  62.     When we upgraded our machine to an Atari TT, their old
  63.     versions of non-SL calamus were not longer functioning
  64.     properly on our new machine. Our copy of calamus SL
  65.     worked (No, it did not "work fine".  Most of the
  66.     advanced features were "not yet implemented", rendering
  67.     the program unusable for serveral months for us), but
  68.     the serial number changed. There we were: Unable to use
  69.     our purchased, serialized fonts, unable to finish the
  70.     work other people unloaded onto our desk, with
  71.     deadlines to keep and the clock ticking.
  72.  
  73. Resumee:
  74.  
  75.     Calamus is useful tool for page design and layout.
  76.     Because of my personal experiences with its font
  77.     serialization scheme and because of the experiences
  78.     other sources, who tried to install and use public
  79.     domain or third party fonts, shared with me, I strongly
  80.     dicourage anyone from buying this program. I recommend
  81.     that under all circumstances you try to get another
  82.     tool to get your work done. This recommendation is
  83.     solely based on experiences with this font
  84.     serialization mechanism - if it breaks (and it did
  85.     break for us), it stops you from getting any work done
  86.     at all.
  87.  
  88. [ dmc flame off ]
  89.  
  90. Please note:
  91.  
  92. In message <A9208@MZ.maus.de>, Pierre_Hansen@mz.maus.de (Pierre
  93. Hansen) wrote:
  94. > I don't think this kind of diskussion is funny at all.
  95. > Deserialising fonts is illegal and DMC will not watch this
  96. > without taking action.
  97.  
  98. So if you have any problems with your calamus fonts, please
  99. don't help yourself. Instead report your problems to your
  100. dealer or to DMC and stop working at all. Stand by and wait for
  101. these people to get your problem solved. This may take some
  102. time, but don't worry. Don't worry about your deadlines, it is
  103. not your fault if you cannot deliver in time.
  104.  
  105. Please under no condition do this:
  106.  
  107. - never set the serial number of your font to zero, i.e. don't
  108.   setlong(font, 0x0010, 0L);
  109.  
  110. - under no circumstances set the font initial coding mask to
  111.   zero, i.e. don't setlong(font, 0x10b6, 0L). If you do this by
  112.   accident, forget the old mask value and don't reuse it in the
  113.   algorithm below:
  114.  
  115. - never run the following program fragment or something similar
  116.   on the offset block of the font. The offset block is an array
  117.   of relative pointers to the beginning of the fonts outline.
  118.  
  119.     i = 0x1bc;
  120.   
  121.       for (j=i;j<=i+size; j += 4)
  122.     {
  123.         position = (j-i)/4;
  124.  
  125.         l = getlong(font, j);
  126.         l = l ^ (serial_number + mask * position);
  127.         /* printf("%lx:%lx\t", (j-i)/4, l); */
  128.         setlong(font, j, l);
  129.     }
  130.  
  131. - Never sort the outline definitions of the font.
  132.  
  133.   The outlines of the first few character outlines are swapped
  134.   or not swapped, so that the offset values into these outlines
  135.   are not monotone increasing.  Additional serial number
  136.   information may or may not be hidden within the order of the
  137.   outlines for the first few characters of a font.  This
  138.   information might or might not be checked by newer calamus
  139.   versions.
  140.  
  141.   If you sort the outlines, any potential serial number
  142.   information which is perhaps contained in these permutations
  143.   would be lost.
  144.  
  145. - Never overwrite the copyright notice of your font, since it
  146.   might or might not contain some keywords such as
  147.   "compugraphic" or "postscript" which could be checked for by
  148.   calamus. Calamus could not correctly reject your font, if it
  149.   does not find these keywords. So please don't touch them.
  150.  
  151. - Never decrease the baseline value (offset 0x1e0) by one if
  152.   its inital value is 0x2710. Should the above transformations
  153.   be applied to any of your serialized fonts by some accident,
  154.   rumor says that calamus could use the value 0x2710 at 0x1e0
  155.   to correctly reject the font. So, please leave this value
  156.   alone!
  157.  
  158. - If any of your public domain or third party vendor fonts is
  159.   not functioning properly, please don't check if any of the
  160.   above rules matches the problematic font. Instead don't use
  161.   public domain or third party fonts with calamus, the are not
  162.   good for you.
  163.  
  164. Instead, sit down, stay calm and wait. Don't panic.
  165.  
  166. Thank you,
  167.     Kristian
  168. -- 
  169. Kristian Koehntopp, Harmsstrasse 98, FRG W-2300 Kiel, +49 431 676689
  170. "Das neue Calamus. Godot wollte es noch heute vorbei bringen."
  171.