[wadalabfont-kit] / lisp / tools / aplyknj.l  

View of /lisp/tools/aplyknj.l

Parent Directory | Revision Log
Revision: 1.1.1.1 - (download) (annotate) (vendor branch)
Thu Dec 28 08:54:20 2000 UTC (23 years, 11 months ago) by ktanaka
Branch: ktanaka
CVS Tags: tmp, SNAP-20030624
Changes since 1.1: +0 -0 lines
change to CVS wadalab font project
;;-----------;;
;; aplyknj.l ;;
;;-----------;;

;; applykanji が flonum で座標を返すので、fixnum になおす

(defun zahyou-flonum->fixnum (prim)
  (let ((zahyou (car prim))
	(restinfo (cdr prim)))
    (cons (mapcar zahyou
		  #'(lambda (p)
		      (let ((x (first p))
			    (y (second p))
			    (info (cddr p)))
			(cons (fix x) (cons (fix y) info)))))
	  restinfo)))
    

(defun kind-of-info (prims)
  (let ((ret nil))
    (do ((p prims (cdr prims)))
	((null p))
	(let ((info (cddr (applykanji (car p)))))
	  (mapcar info
		  #'(lambda (i)
		      (unless (assq (car i) ret)
			(print i)
			(push i ret))))))
    ret))

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help