botong-zhou / MobileTerminal

MobileTerminal for iOS
1 stars 1 forks source link

Custom Fixed Width Fonts #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Enhancement - Minor

I use the free Proggy Tiny fixed width Fonts on my Windows-Mobile CMD terminal. 
 These fonts are 
ideally suited for low-resolution display, and especially for MobileTerminal.

http://www.proggyfonts.com/index.php?menu=download

Any chance we can add these fonts to future MobileTerminal releases?

I tried to add these fonts on my own, but MobileTerminal keeped crashing.  (I 
uploaded 
"ProggyTinySZ.ttf" to "/System/Library/Fonts/Cache/" and added the entries to 
"/System/Library/Fonts/CGFontCache.plist", but it did not work.)  Maybe I did 
something wrong, 
any advice on adding fonts to the iPhone?

Original issue reported on code.google.com by lisa.mat...@gmail.com on 12 Aug 2009 at 5:47

GoogleCodeExporter commented 9 years ago
Sorry, this issue has the wrong label.  It should be listed as a minor 
enhancement.  My bad.

Original comment by lisa.mat...@gmail.com on 12 Aug 2009 at 5:49

GoogleCodeExporter commented 9 years ago
i installed the Envy Code R fonts, which crashed Mobile Terminal at first.
after the second respring everything worked magically

try envy code r, btw., they are great. I use them for every monospace-related 
usage and…

Original comment by trueflyi...@gmail.com on 29 Sep 2009 at 6:16

GoogleCodeExporter commented 9 years ago
I could not find any "envy *" fonts package on Cydia or Icy.  Any advice on how 
to get this fonts and how to 
install them properly?  Thanks in advance.

Original comment by lisa.mat...@gmail.com on 30 Sep 2009 at 2:55

GoogleCodeExporter commented 9 years ago
download it from here:
http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released
(direct link: http://download.damieng.com/fonts/original/EnvyCodeR-PR7.zip )

and follow the instructions at
http://blog.gauravgiri.com/2008/08/tutorial-adding-extra-fonts-to-iphone/
to convert your .plist file from binary to xml and vice versa, use
http://iappcat.com/plist/bin2xml , the link in the tutorial is broken.

the lines you have to add are

<key>Envy Code R</key>
<string>/System/Library/Fonts/Cache/Envy Code R.ttf</string>
<key>Envy Code R bold</key>
<string>/System/Library/Fonts/Cache/Envy Code R bold.ttf</string>
<key>Envy Code R italic</key>
<string>/System/Library/Fonts/Cache/Envy Code R italic.ttf</string>

…in the first part and

<key>Envy Code R</key>
<dict>
    <key>Plain</key>
    <string>Envy Code R</string>
    <key>Bold</key>
    <string>Envy Code R bold</string>
    <key>Italic</key>
    <string>Envy Code R italic</string>
</dict>

…in the second part. If you used the MyFonts Folder instead like in the 
tutorial, the
correct paths will contain it too, of course.

but if you don’t want to use it on the phone (instruction  overkill or 
something ;)),
give it a try on your pc.

Original comment by trueflyi...@gmail.com on 9 Oct 2009 at 12:08

GoogleCodeExporter commented 9 years ago

Original comment by allen.po...@gmail.com on 14 Jun 2010 at 4:08

GoogleCodeExporter commented 9 years ago
I explored the option of making a UI for changing font settings in the new 
apple sdk release, however, since there are only two monospace fonts (Courier, 
Courier New) by default I decided to scrap it.

I am renaming this issue to be a bit more general.  Perhaps the font to use 
should just be configurable via a text file so that you can change it if you 
really want to, but there is a sane default for everyone else.  Think that 
would be sufficient?

Original comment by allen.po...@gmail.com on 4 Oct 2010 at 1:24

GoogleCodeExporter commented 9 years ago
Issue 222 has been merged into this issue.

Original comment by allen.po...@gmail.com on 4 Dec 2010 at 6:18

GoogleCodeExporter commented 9 years ago
When I type"su root" through my MobileTerminal,the Code I Typied  "alpine" and 
othe coders I used before always showed "denied code ,or wrong code.Help 
me,Thanks a lot!

Original comment by dragonsl...@gmail.com on 1 May 2014 at 10:44