1. 16 4月, 2011 7 次提交
  2. 15 4月, 2011 1 次提交
  3. 14 4月, 2011 2 次提交
  4. 13 4月, 2011 6 次提交
  5. 12 4月, 2011 16 次提交
  6. 11 4月, 2011 1 次提交
  7. 08 4月, 2011 2 次提交
  8. 07 4月, 2011 1 次提交
    • B
      Disable 'cswh' by default except for Arabic shaper · a71b9c85
      Behdad Esfahbod 提交于
      That better matches OpenType spec.  Note that we enable it for all
      Arabic-shaper scripts.  Ie. we enable it by default for Syriac too,
      but the SyriacOT spec does not require it.  I think this is a more
      useful compromise than special-casing for Arabic script alone.
      a71b9c85
  9. 05 4月, 2011 4 次提交
    • B
      [hb-view] setlocale (LC_ALL, "") · cab6f65b
      Behdad Esfahbod 提交于
      For now we don't use anything from the locale, but we should default
      to using $LANG, etc, if --language is not specified.  Right?
      cab6f65b
    • B
      [hb-view] Rewrite --features parsing, with range support · fb9ca1bf
      Behdad Esfahbod 提交于
      The --features parsing handles errors now.  More importantly, it
      allos limiting individual features to specific byte ranges.  The
      format is Python-esque.  Here is how it all works:
      
        Syntax:	Value:	Start:	End:
      
      Setting value:
        "kern"	1	0	∞	# Turn feature on
        "+kern"	1	0	∞	# Turn feature off
        "-kern"	0	0	∞	# Turn feature off
        "kern=0"	0	0	∞	# Turn feature off
        "kern=1"	1	0	∞	# Turn feature on
        "kern=2"	2	0	∞	# Choose 2nd alternate
      
      Setting index:
        "kern[]"	1	0	∞	# Turn feature on
        "kern[:]"	1	0	∞	# Turn feature on
        "kern[5:]"	1	5	∞	# Turn feature on, partial
        "kern[:5]"	1	0	5	# Turn feature on, partial
        "kern[3:5]"	1	3	5	# Turn feature on, range
        "kern[3]"	1	3	3+1	# Turn feature on, single char
      
      Mixing it all:
      
        "kern[3:5]=0"	1	3	5	# Turn feature off for range
      fb9ca1bf
    • B
      [hb-view] Use cached hb-ft face creation · ccc6745a
      Behdad Esfahbod 提交于
      Avoids recreating the face the second time we call draw().
      ccc6745a
    • B
      [hb-view] Add --debug · 1b4a2cc0
      Behdad Esfahbod 提交于
      Frees all allocated memory before exiting.  Useful for valgrind run.
      1b4a2cc0