[wadalabfont-kit] / skeleton-edit / aplyknj.l  

View of /skeleton-edit/aplyknj.l

Parent Directory | Revision Log
Revision: 1.1 - (download) (annotate)
Fri Jun 27 00:52:12 2003 UTC (21 years, 5 months ago) by ktanaka
Branch: MAIN
CVS Tags: SNAP-20040518, SNAP-20030702, SNAP-20030630, HEAD
*** empty log message ***
;;-----------;;
;; 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