星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 4 години
123456789101112131415161718192021222324252627282930313233
  1. Copyright (c) 2007 Anoto AB and its licensors. All rights reserved.
  2. The filename convention is as follows
  3. -------------------------------------
  4. (dotalgorithm name)_single_[header|tail].inc is for -d1
  5. (dotalgorithm name)_multi_[header|tail].inc is for -d2 and -d3
  6. (dotalgorithm name)_duo_[header|tail].inc is for -pbw (black and white color separation)
  7. header is first part of dotalgorithm definition up to the by GAPAT defined XUID of the font
  8. tail is the rest
  9. different file sets are trigged by setting the environment variable --dotinclude.
  10. If no --dotinclude is set treat it as if dotinclude=default
  11. example: --dotalgorithm myAlgo will use
  12. myAlgo_single.inc if default -d1 is used
  13. Note that its very tricky to write a proper _multi algorithm.
  14. Basics of the encoding for _multi (d2/d3) is:
  15. Each single dot can be coded as one letter
  16. Each 2 dot combination can be coded as one letter
  17. Each 3 dot combination can be coded as one letter
  18. "Space" can be coded in binary intervals i.e. base glyps is a=" ", b=" ", c=" ", d=" "
  19. i.e. " " can be coded as (ab)
  20. and dont forget about the null pattern
  21. difference between 2 and 3 dot algorithm is only the USE of the glyphs. The definition file is the same
  22. This is the documentation there is.