[wadalabfont-kit] / lisp / test / wada.l  

View of /lisp/test/wada.l

Parent Directory | Revision Log
Revision: 1.1.1.1 - (download) (annotate) (vendor branch)
Thu Dec 28 08:54:19 2000 UTC (23 years, 4 months ago) by ktanaka
Branch: ktanaka, MAIN
CVS Tags: SNAP-20030702, tmp, SNAP-20030624, SNAP-20030630, SNAP-20040518, HEAD
Changes since 1.1: +0 -0 lines
change to CVS wadalab font project
(defun genkanji nil 
  (cond 
    (jis0208 
      (cond 
        ((and (= index0 207) (= index1 211)) 
          (setq index0 208 index1 161) 
          (setq str (string-append (string index0) (string index1)))) 
        ((= index0 244) 
          (cond ((= index1 164) (setq index1 166 str "H005")) 
            ((string-equal str "H005") (setq str "H006")) 
            ((string-equal str "H006") (setq jis0208 nil) (setq x 1601) 
              (setq str "a601")) 
            (t (setq index1 (/1+ index1)) 
              (setq str (string-append (string index0) (string index1)))
              ))) 
        ((= index1 254) (setq index0 (/1+ index0) index1 161) 
          (setq str (string-append (string index0) (string index1)))) 
        (t (setq index1 (/1+ index1)) 
          (setq str (string-append (string index0) (string index1)))))) 
    (t 
      (cond 
        ((= (\ x 100) 94) (setq x (/+ x 7)) 
          (setq image (number-image x)) 
          (sset image 0 (/+ (sref image 0) 48)) image) 
        ((= x 7767) (setq str nil)) 
        (t (setq x (/1+ x)) (setq image (number-image x)) 
          (sset image 0 (/+ (sref image 0) 48)) image)))))
(defun genkanjiinit nil (setq index0 176 index1 160 jis0208 t))

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help