I use the computer modern bright font package (cmbright) and would like to make my legend in Originlab (software for making graphs) also in this beautiful font. So I need cmbright as a truetype (.ttf) file.
Unfortunately I got lost in all the links/info about latex fonts and their truetype alternatives. So after reading alot I still don't know where I could possibly find it. Who can help me find the path again?
(I already tried finding a look-a-like with WhatTheFont but no succes)
Fonts & Character Sets ⇒ computer modern bright font in truetype
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
computer modern bright font in truetype
I'm fairly familiar with Origin so I think that it not absolutely necessary to generate graphs. If it's only about plotting a data set without any manipulation I would suggest to use packages like datatool, pgfplots or pstricks to commit your graphs to paper.
You don't write about the format you are exporting the graphs to. If it's EPS, you may use the psfrag package to replace strings with LaTeX commands.
Best regards and welcome to the board
Thorsten
You don't write about the format you are exporting the graphs to. If it's EPS, you may use the psfrag package to replace strings with LaTeX commands.
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: computer modern bright font in truetype
Thank you for the answer. I would realy like to try these packages you recommend.
Unfortunatly for the moment I can not spend any more time on a new tool before I have finished my thesis. (I spend already too much time on xymtex)
So I would like to work with the tools I know. I didn't put any graphs in my latex document yet (they are all still in origin). But since I use PDF Latex I think I will use pdf or a graphic format like png and include that in my document.
Is it also possible to replace a string in pdf?
Does anybody knows how to get the computer modern bright font as a .ttf?
Best regards, and thank you
Unfortunatly for the moment I can not spend any more time on a new tool before I have finished my thesis. (I spend already too much time on xymtex)
So I would like to work with the tools I know. I didn't put any graphs in my latex document yet (they are all still in origin). But since I use PDF Latex I think I will use pdf or a graphic format like png and include that in my document.
Is it also possible to replace a string in pdf?
Does anybody knows how to get the computer modern bright font as a .ttf?
Best regards, and thank you
computer modern bright font in truetype
This is how:
1.
Browse to the files from the font package folder and locate the *.mf files.
(in this case cmbright/fonts/source/public/cmbright)
2.
Figure out (trough the internet or by guessing) which is the normal font for typesetting. (in this case cmbr10.mf)
3.
In your terminal (linux) type:
mktextmf cmbr10 (to create a *.tmf file)
and now type:
mftrace -f ttf cmbr10 (we tell the mftrace program to convert to the format ttf)
You can install the mftrace program in ubuntu by doing "sudo apt-get install mftrace"
Now we have cmbr10.ttf but that file does not contain the space character for some reason (which is a real problem). So we we need to use a font edit program to add it. I used FontCreator 5.6 (after adding the character you need to set it's "Advanced Width" to +/- 300)
Now you have a rough version of the Computer Modern Bright font as a *.ttf
Kind regards.
P.s. With my version of python, mftrace didn't want to work. I had to edit /usr/bin/mftrace and fix it. See this for help:
http://mail-index.netbsd.org/pkgsrc-bug ... 34058.html
1.
Browse to the files from the font package folder and locate the *.mf files.
(in this case cmbright/fonts/source/public/cmbright)
2.
Figure out (trough the internet or by guessing) which is the normal font for typesetting. (in this case cmbr10.mf)
3.
In your terminal (linux) type:
mktextmf cmbr10 (to create a *.tmf file)
and now type:
mftrace -f ttf cmbr10 (we tell the mftrace program to convert to the format ttf)
You can install the mftrace program in ubuntu by doing "sudo apt-get install mftrace"
Now we have cmbr10.ttf but that file does not contain the space character for some reason (which is a real problem). So we we need to use a font edit program to add it. I used FontCreator 5.6 (after adding the character you need to set it's "Advanced Width" to +/- 300)
Now you have a rough version of the Computer Modern Bright font as a *.ttf
Kind regards.
P.s. With my version of python, mftrace didn't want to work. I had to edit /usr/bin/mftrace and fix it. See this for help:
http://mail-index.netbsd.org/pkgsrc-bug ... 34058.html