-1.5.19.jcn2
+1.5.19.jcn3
===========
* Sketch output:
+ - Sketch uses feta font.
+ - Fix to linewidth and feta fontsize.
- mf-to-table: write dummy values in afm to make sketch happy.
- - Fixes to glyphs: rectangles and beziers work now.
+ - Fixes to glyphs: rectangles beziers work now.
- Bugfix: sketch.scm: use primitive-eval.
-* Sketch and feta Type1 fonts (disabled in sketch output for now):
+* Sketch and feta Type1 fonts:
- textrace:
wget http://www.inf.bme.hu/~pts/textrace-latest.tar.gz
tar xzf textrace-latest.tar.gz
(cd autotrace-0.27ap; ./configure; make)
./traceall.sh feta20 feta20.pfb $HOME/usr/src/lilypond/mf/out
- - copy mf/out/feta20.afm to sketch/Resources/Fontmetrics
+ - copy mf/out/feta20.* to sketch/Resources/Fontmetrics
- append to sketch/Resources/Fontmetrics/std.sfd:
- feta20,feta20,Roman,-gnu-feta20-medium-r-normal,iso8859-1,feta20
+ echo 'TeX-feta20,feta20,Roman,-gnu-feta20-medium-r-normal,adobe-fontspecific,feta20' > $HOME/usr/src/sketch/sketch/Resources/Fontmetrics/std.sfd
- Hmm, then find that
+ Sketch accesses characters by name, ie, the
- name characters have in default text fonts. We'll have to fix
- Sketch's font handling.
- + textrace mangles font name by prepending `TeX-'. Is this a
- problem?
+ name characters have in default text fonts. Luckily, textrace
+ mangles the feta names too. Sadly, textrace chooses different names
+ for characters > 128.
+
+ + Textrace mangles font name by prepending `TeX-'. Doesn't seem to
+ pose a big problem; we'll have to pefix `TeX-' to feta fonts.
+
+ + Sadly, only the sketch-0.7.x is happy with the feta type1 font, but
+ printing is not yet implemented?
* Remove modules directory (again?).
(define (global-filledbox width dy dx height x y)
(string-append
"fp((0,0,0))\n"
- "lw(0.5)\n"
+ "lw(0.1)\n"
"r("
(sk-numbers->string
(map global-mul-scale (list width dy dx height x y)))
)
(string-append
"fp((0,0,0))\n"
- "lw(0.5)\n"
+ "lw(0.1)\n"
"b()\n"
(global-bezier first)
(global-bezier second)
`(string-append
"fp((0,0,0))\n"
"le()\n"
- "lw(0.5)\n"
-;; urg, Sketch can't handle non-text fonts
+ "lw(0.1)\n"
;; "Fn('" global-font "')\n"
- "Fn('Times-Roman')\n"
- "Fs(12)\n"
- "txt('" ,(ascii->string i) "',("
+;; "Fn('Times-Roman')\n"
+ "Fn('TeX-feta20')\n"
+ "Fs(20)\n"
+ ;; chars > 128 don't work yet
+ "txt('" ,(ascii->string (modulo i 128)) "',("
+;; "char(" ,(number->string i) ",("
(sk-numbers->string (list (* global-scale global-x)
(* global-scale global-y)))
"))\n")))