From d5fed41e0715c7140ca4d4364f114aea19ce59e0 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Tue, 22 Aug 2017 17:09:10 -0700 Subject: [PATCH] minion test --- pitfall/pitfall/test/minion-test.pdf | Bin 0 -> 9852 bytes pitfall/pitfall/test/minion.coffee | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 pitfall/pitfall/test/minion-test.pdf create mode 100644 pitfall/pitfall/test/minion.coffee diff --git a/pitfall/pitfall/test/minion-test.pdf b/pitfall/pitfall/test/minion-test.pdf new file mode 100644 index 0000000000000000000000000000000000000000..59c3cc727f5655243be8b2832d282c0e41f4cef2 GIT binary patch literal 9852 zcmbta30zgh_rJ58d2}%}2`gTYcPrOi*tb;5T{IIBmn2P=2R;KHJU~EE)&~fRASf=V zpdz@Xxtn{YmX)@m;ti5(P*}7<a$6eHLq}h&IyT!{UhbP(m zVp!mCwYZwcB@GQrG}tWjE`8)BCZ;9wx&z~)Og0nd-8b@)N|SmI;a*|jLowbQX)qh( zqNUz}k-Rg;q%=;Pm>eG;V~ABd=ccyN*6vmfbJMbUln!cRE09gQECjv-A$xO@+dv+H$MzsJfzUV&EZ9dU3zyfscP+q9=r0~ASl zq^OgNq7{^fk)p$j3sLmcy3gA1Ff0Ef0d#`k(7Utx?RQ^gr$>3D%j8Zy)L=%Z?t%sj zNMM4D?m>>o8R=0kj{)3rhneEj%(mIj-QVA>pTxiJwy%fn>t*};+P;4MBz5hweR(dA zdr3Ceks2qfL@AJumpR^K=4(OZ0BJ}}jARp?C~?~{nCGa(#;!@mM9E-Gn#C8FFrKN- zZQQ;hr6hA$q#-uU{DQ<6nXtCWsJm1p8RH}_OX7piE0!iE@%j^`u((K9F2!W4B|;rE zv(b<^ps4|T0+O26lvYX;!Pco}izB|O;;=vjDgalYM$iglgt5ZY!Z_g>VZ0C|Ob~*F zc|y7{Usxby2$@2bkS*j0xq?N=6Y_-uVWChc6bXxj#X_;LL?{tTg&o39;U!_0uv^$8 z>=pJQ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W%-`Y4c#?8Z$e7X~_b;Lu;-7Hdd2y zHhRwHTY|HCIxsy`*uL!VH}2hKog5?wHHwx^x?h!d#VbGgUUs}DKdN(lU%sbdn-kwK zmgbgnyZOG2Dm1f=hV*FdjF}snn^jj?y=Hx--Ed8*r5%)gK4V%AH>*>*OY#Gqtr42Q zTuc2!I(cr5CZIHrA22kRS3@~Z`K`&s7fj9JCk|(_i}S{*#yBeXA5I+FifN5IS);98 z)ns7C8Cf~NYpBu5+c_d!Te7jNW~rV1rlqx|)y1kGMp>5~m8ZP@;nrKihnYgFh<}Xj zoH%$;WaRUO`jE)>XspyyR#;JDx3+x6x^>R$6E_+EQItGZbFzACU5$2ig=PM#X6W^g z#q4=6Lu_2Jv&&~|3t2#q$yOM(@3{l1ca>4AT&=yUaP5_^<;j0L=Uf$S)@eQ%x!I*I zVnW4m?GtWJca`@~nO5hb8u^2p0T=&?(SF(LV!O3VmXxh?ZsF}(cRBcT@2_qvTD@V@ z=H%+z$c=c1;<`)~17GrvK=FQ|Bk>V1L6hhI4H_Vkvbq$ZlXuP^_b ztUgj)E6s!dQEyMcYe8}1I^9-c6r{n*Wu>ncRQb-C;w&ML7ulSzaP|r z=F4x8bfCGrdAH%?|8)7q8ME!8*hJ%8{%_txbPYC{k|gz?JijAmyX2x?JhEM@NlXee UC)u>+@9pU&_UJKU{7CWt0Gw#8bN~PV literal 0 HcmV?d00001 diff --git a/pitfall/pitfall/test/minion.coffee b/pitfall/pitfall/test/minion.coffee new file mode 100644 index 00000000..4b791bce --- /dev/null +++ b/pitfall/pitfall/test/minion.coffee @@ -0,0 +1,10 @@ +PDFDocument = require 'pdfkit' +fs = require 'fs' + +doc = new PDFDocument({compress: no}) +doc.pipe(fs.createWriteStream('minion-test.pdf')) +doc.registerFont('the-font', '/Library/Fonts/MinionPro-Regular.OTF') +doc.font('the-font') + .fontSize(25) + .text('Minion Pro Regular OTF', 50, 50, {width: false}) +doc.end() \ No newline at end of file