# HG changeset patch # User Enrique Soriano # Date 1317830149 -7200 # Node ID d35aa1876a61a4e24b84de748125aa83ed106a4f # Parent 806be2a9cc0e8b7255cb69f43d9ed2e51b719cc1 acme: it uses alternative fonts present in nix see mail 5163048. Fixes issue 9. R=nix-dev, john, nemo CC=nix-dev http://codereview.appspot.com/5168049 Committer: Francisco J Ballesteros diff -r 806be2a9cc0e -r d35aa1876a61 sys/src/cmd/acme/acme.c --- a/sys/src/cmd/acme/acme.c Tue Oct 04 17:32:03 2011 +0200 +++ b/sys/src/cmd/acme/acme.c Wed Oct 05 17:55:49 2011 +0200 @@ -41,6 +41,12 @@ "/lib/font/bit/lucm/unicode.9.font" }; +char *altfontnames[2] = +{ + "/lib/font/bit/anonpro/anon.14.font", + "/lib/font/bit/fixed/unicode.9x15.font" +}; + Command *command; void acmeerrorinit(void); @@ -68,6 +74,10 @@ ncol = -1; + for(i=0; i