Fonts & Character Setswinfonts | Installation in a local TeXmf Tree

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
eikichi91
Posts: 1
Joined: Sun Jun 24, 2012 10:01 am

winfonts | Installation in a local TeXmf Tree

Post by eikichi91 »

Can someone explain this installation guide for me? Installation is described in the README file. I want to know where I can find the local texmf tree.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gayathrivishy
Posts: 3
Joined: Sat Dec 22, 2012 10:21 am

winfonts | Installation in a local TeXmf Tree

Post by gayathrivishy »

I have posted the same query. After struggling with this for 15 days I finally found how to solve this.
http://ctan.imsc.res.in/fonts/winfonts/README

1. First create a new folder in C:
C:\Programfiles\Texmf
2. Then for some reasons I was not able to unzip the contents directly to c:\programfiles\texmf. So I unzipped that to my desktop and there were 4 folders named doc, fonts,tex and ttf2ttm
3. then copied all these 4 folders to c:\programfiles\texmf
4. Then go to command prompt. go to c:\programfiles(CD.. will change the directory)
5. type in initexmf --edit-config-file udpmap
6. A notepad will open automatically. Type in Map winfonts.map
7.Save the file and close the notepad.
8.Then again in the command prompt type in initexmf -u
9. This will take few seconds to update
10. Finally go t START->ALL PROGRAMS->MIKTEX 2.9->MAINTENANCE->SETTINGS->ROOTS
11.Select the second TAB ROOTS. There down if you see there is an option called ADD. Click and select c:\programfiles\texmf and click apply.
12. Then go to first TAB in ROOTS which is GENERAL and click REFRESH FNDB AND UPDATE FORMATS.

that's it. now you can compile with winfonts. same can be done for any fonts.
try this code

Code: Select all

\documentclass{article}
\usepcakge[T1]{fontenc}
\usepcakge{winfonts}
\begin{document}
\fontfamily{arial}\selectfont Arial \normalfont\\

\fontfamily{times-ttf}\selectfont times \normalfont\\
\end{document}
update_udpmap-800.png
update_udpmap-800.png (96.84 KiB) Viewed 5244 times
Last edited by cgnieder on Mon Jan 07, 2013 11:19 am, edited 1 time in total.
stallion_h1
Posts: 4
Joined: Tue Feb 26, 2013 9:39 pm

winfonts | Installation in a local TeXmf Tree

Post by stallion_h1 »

Hello. I actually followed the steps you gave, and created the following file using TeXnicCenter and compiled using PDFLaTeX.

Code: Select all

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{winfonts}
\fontfamily{trebuchet}\selectfont

\begin{document}
abcdefg
\end{document}
But the PDF file does not implement "trebuchet", just the same as the default Computer Modern.

Did I miss something? Or something is missing with the steps you gave?


Thanks.

- Stal
gayathrivishy
Posts: 3
Joined: Sat Dec 22, 2012 10:21 am

Re: winfonts | Installation in a local TeXmf Tree

Post by gayathrivishy »

Try \fontfamily after \begin{document}
Post Reply