refresh texmacs font cache after installing new fonts

texmacs --delete-font-cache
after installing new fonts ( tfm , pfb , cjk , truetype ... ) manually in your ~/.Texmacs/fonts , it doesn't always reload it properly , just refresh it by delete the old cache fonts in sample output , I just installed TrueType Chinese CJK fireflysung fonts supports
Sample Output
gnu@robby:~/.TeXmacs$ texmacs --delete-font-cache
TeXmacs] With linked TrueType support
[: 39: =: unexpected operator
[: 39: =: unexpected operator
TeXmacs] Loading corktounicode
TeXmacs] Loading unicode-cork-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading unicode-symbol-oneway

0
By: eastwind
2010-03-14 13:30:54

These Might Interest You

  • Refresh the cache of font directory , usefull after you download font (.ttf or other) from various website and you don't want to reboot or relogin . Close your word processor before using the command , after the refresh reopen your word processor , new fonts is avaible ! Show Sample Output


    6
    sudo fc-cache -f -v
    eastwind · 2009-10-07 11:01:29 0
  • First you have to create a directory in your system, where the fonts will be stored, and copy them. sudo mkdir /usr/share/fonts/miscttf; sudo cp *.ttf /usr/share/fonts/miscttf After recharge cache with the command


    5
    ttmkfdir mkfontdir fc-cache /usr/share/fonts/miscttf
    starchox · 2009-03-06 21:28:17 1
  • 1) Find true type fonts; 2) Copy them to /usr/share/fonts/truetype; 3) Reload font information.


    0
    find ~ -name "*.ttf" -exec cp {} /usr/share/fonts/truetype \; & fc-cache -f
    scripteles · 2011-05-25 20:18:33 0
  • List all fonts used by an SVG file. Useful to find out which fonts you need to have installed in order to open/edit an SVG file appropriately. Show Sample Output


    0
    grep 'font-family:[^;]*' <input file.svg> | sed 's/.*font-family:\([^;]*\).*/\1/g' | sort | uniq
    caiosba · 2014-11-03 20:38:08 1

What Others Think

So what fonts does you use to make Chinese available? Thank you!
acgtyrant · 211 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: