lf 970 B

123456789101112131415161718192021222324252627282930313233343536
  1. %
  2. % This stuff has gotten terribly complicated - sorry.
  3. %
  4. currentdict /bvbbox known not {/bvbbox [0 0 0 0 0 0 0] def} if
  5. /build_lf {
  6. pop
  7. gsave
  8. currentpoint translate newpath
  9. bvbbox 6 get size ne {
  10. gsave
  11. initgraphics
  12. scaling scaling scale
  13. 0 0 moveto
  14. (\357) false charpath flattenpath pathbbox 0 0 size bvbbox astore pop
  15. 0 1 idtransform dup mul exch dup mul add sqrt dup
  16. bvbbox 1 get add bvbbox 1 3 -1 roll put
  17. bvbbox 3 get exch sub bvbbox 3 3 -1 roll put
  18. bvbbox 2 get bvbbox 0 get sub bvbbox 4 3 -1 roll put
  19. bvbbox 2 get bvbbox 0 get add 2 div bvbbox 5 3 -1 roll put
  20. grestore
  21. } if
  22. bvbbox 0 get bvbbox 1 get moveto
  23. bvbbox 0 get bvbbox 3 get lineto
  24. bvbbox 5 get bvbbox 4 get 8 mul add dup bvbbox 3 get lineto
  25. bvbbox 1 get lineto closepath clip newpath
  26. 0 0 moveto (\357) show
  27. bvbbox 5 get bvbbox 1 get moveto
  28. bvbbox 4 get dup dup
  29. 8 mul 0 rlineto
  30. 0 exch rlineto
  31. 8 mul neg 0 rlineto
  32. closepath clip eofill
  33. grestore
  34. } def