print/py-collidoscope 0.5.2_2 DragonFly
Brute force detection of glyph collisions
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- print, python
- Package size
- 18.5 KiB, 81.9 KiB installed
Description
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%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.)
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | print/py-collidoscope | 0.5.2_2 |
| FreeBSD | print/py-collidoscope | 0.5.2_2 |
| MidnightBSD | print/py-collidoscope | 0.5.2_1 |
| HardenedBSD | print/py-collidoscope | 0.5.2_2 |
| GhostBSD | print/py-collidoscope | 0.5.2_2 |
Install
Binary package:
pkg install py311-collidoscope
From DPorts:
cd /usr/dports/print/py-collidoscope && make install clean
Dependencies
Run dependencies 5
No port depends on this one.