Py-collidoscope

Jul 20, 2023

Brute force detection of glyph collisions

collidoscope reports on situations where paths overlap in a shaped piece of text.

This software tries every combination of glyphs within a specified Unicode range and up to a specified length of string and outputs a report of all situations where the glyphs collide. It has a number of collision tests

  • Paths in non-adjacent glyphs are never allowed to collide.
  • If the cursive test is turned on, then paths with a cursive attachment anchor are allowed to overlap with paths in an adjacent glyph which also contain a cursive attachment anchor, but are not allowed to overlap with a path without a cursive attachment anchor.
  • If the area test is turned on, then paths in adjacent glyphs may collide so long as the area of overlap does not exceed a given percentage of the smallest path’s area. i.e. if the area percentage is set to 25, then two strokes may connect, because the overlap is likely to be quite small compared to the size of the paths involved. But if a stroke significantly overlaps a nukta, it will be reported as a collision. Of course, this will not detect strokes which merely graze a nukta.


Checkout these related ports:
  • Yatex - Yet Another LaTeX mode and html mode on Emacs
  • Xtexsh - Tcl/Tk-based simple TeX interface
  • Xreader - Multi-format document reader
  • Xpp - X11-based printer manager for CUPS
  • Xpdfopen - Command line utility for PDF viewers
  • Xmbibtex - Reference manager based on the BibTeX file format
  • Xfce4-print - Print system support for the Xfce Desktop
  • Utopia - Adobe Utopia typeface for Groff
  • Typetools - Tools for manipulating fonts
  • Txtbdf2ps - Translator TXT + BDF to PS
  • Ttfquery - FontTools-based package for querying system fonts
  • Ttfautohint - Automatic font hinting library
  • Ttf2pt1 - True Type Font to Postscript Type 1 Converter
  • Trueprint - Print program listings on postscript printer
  • Transfig - Tools to convert Xfig .fig files