Using TTF and how to configure the fontconfig in Linux
-
Worst case, you can use a USB key to get the package from another station on to your virtual machine unless that something that is also locked.
wrote on 12 Sept 2016, 07:47 last edited by dynam1te 9 Dec 2016, 07:52Thanks for the reply @SGaist
I managed to install freefont on my system, apparently it was not installed already. Now it shows me other errors, that it can't find the include files. Although I have the include files.I think either the includes are linked wrong, or I'm missing some installation progress.
btw. I didn't manage to install the packeges you suggested. -
Where are your includes installed ?
-
wrote on 13 Sept 2016, 07:05 last edited by dynam1te
@SGaist I thought that I don't have the fontconfig library installed, but I just checked with the command:
/sbin/ldconfig -p
And it turns out that I do have the library installed. This is what I find:
libfontconfig.so.1 (libc6,x86-64) => usr/lib/x86_64-linux-gnu/libfontconfig.so.1 libfontconfig.so.1 (libc6) => usr/lib/i1386-linux-gnu/libfontconfig.so.1
I still couldn't install the fontconfig-dev packages.
The current error is:
fontconfig/fontconfig.h: No such file or directory #include <fontconfig/fontconfig.h>
What would you suggest to do next?
-
You won't have the headers if you don't have the dev package installed. Like I suggested before, you can grab the package for the repositories of the distribution running on your virtual machine and install it.
-
You won't have the headers if you don't have the dev package installed. Like I suggested before, you can grab the package for the repositories of the distribution running on your virtual machine and install it.
wrote on 13 Sept 2016, 08:33 last edited by@SGaist Yeah, I'm trying to get it installed, I get alot of errors though.
When I run the downloaded .deb (http://packages.ubuntu.com/trusty/libfontconfig1-dev).
I can't install it via the Software Center.
And when I run the dpkg command, it won't install. (Errors encountered) -
Which version of Ubuntu are you running on that virtual machine ?
-
wrote on 13 Sept 2016, 09:04 last edited by dynam1te
@SGaist I installed fontconfig-config, because it looks like it's a dependency from libfontconfig1 (http://packages.ubuntu.com/trusty/libfontconfig1)
I'm not sure if it's because of that, but I managed to get a bit further with the make process.
The only errors are variables that are not used.I get a fontconfig file. not sure how I run or use it though.
-
wrote on 13 Sept 2016, 11:42 last edited by
Final update
Installed libfontconfig-dev and all it's dependencies. Thanks for the help.
-
wrote on 27 Jun 2019, 09:58 last edited byThis post is deleted!
-
This post is deleted!
@LostDeveloper
no need to double post,
even not on a 3 year old thread -
wrote on 28 Jun 2019, 02:40 last edited byThis post is deleted!