[cairo] Scaled fixed size fonts
Uli Schlachter
psychon at znc.in
Sun Jan 19 11:40:46 PST 2014
On 19.01.2014 20:35, Fred Kiefer wrote:
> On 19.01.2014 20:05, Uli Schlachter wrote:
>> On 19.01.2014 17:26, Fred Kiefer wrote:
>>> On 19.01.2014 12:31, Uli Schlachter wrote:
>>>> On 19.01.2014 02:14, James Cloos wrote:
>>>>>>>>>> "US" == Uli Schlachter <psychon at znc.in> writes:
>>>>>
>>>>> US> Do you happen to know which packages I would have to install on
>>>>> US> debian testing to get different images?
>>>>>
>>>>> Look for the package containing the Adobe bdf fonts for X11.
>>>>
>>>> How exactly would I do that? What would the file name for those files be? My
>>>> (naiive) attempt didn't work out:
>>>>
>>>> http://packages.debian.org/search?searchon=contents&keywords=adobe&mode=path&suite=testing&arch=amd64
>>>>
>>>> (And right now the only .bdf files around belong to texlive)
>>>>
>>>>> On debian it is either xfonts-100dpi or xfonts-75dpi.
>>>>
>>>> $ LC_ALL=C apt-cache policy xfonts-75dpi
>>>> xfonts-75dpi:
>>>> Installed: 1:1.0.3
>>>> Candidate: 1:1.0.3
>>>> Version table:
>>>> *** 1:1.0.3 0
>>>> 990 http://http.debian.net/debian/ testing/main amd64 Packages
>>>> 50 http://http.debian.net/debian/ unstable/main amd64 Packages
>>>> 100 /var/lib/dpkg/status
>>>> $ LC_ALL=C apt-cache policy xfonts-100dpi
>>>> xfonts-100dpi:
>>>> Installed: 1:1.0.3
>>>> Candidate: 1:1.0.3
>>>> Version table:
>>>> *** 1:1.0.3 0
>>>> 990 http://http.debian.net/debian/ testing/main amd64 Packages
>>>> 50 http://http.debian.net/debian/ unstable/main amd64 Packages
>>>> 100 /var/lib/dpkg/status
>>>>
>>>> However, neither packages contain anything which I would think sounds like
>>>> "Adobe bdf fonts fot X11":
>>>>
>>>> http://packages.debian.org/wheezy/all/xfonts-75dpi/filelist
>>>> http://packages.debian.org/wheezy/all/xfonts-100dpi/filelist
>>>
>>> These are the same fonts I've got installed, files similar to
>>> helvO12-ISO8859-1.pcf.gz are the ones to look out for.
>>
>> Yep, I do have this from xfonts-100dpi:
>> /usr/share/fonts/X11/100dpi/helvO12-ISO8859-1.pcf.gz
>>
>>> If you have these
>>> installed "xlsfonts -fn *helvetica*" should list them as
>>>
>>> -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
>>
>> Not really. The closest that I have are these:
>>
>> $ xlsfonts -fn '*helvetica*' | grep adobe-helvetica-medium-r-normal-- | grep
>> iso8859-1
>> -adobe-helvetica-medium-r-normal--0-0-100-100-p-0-iso8859-1
>> -adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso8859-1
>> -adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso8859-1
>> -adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1
>> -adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1
>> -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1
>> -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1
>> -adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1
>> -adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1
>> -adobe-helvetica-medium-r-normal--25-180-100-100-p-130-iso8859-1
>> -adobe-helvetica-medium-r-normal--25-180-100-100-p-130-iso8859-1
>> -adobe-helvetica-medium-r-normal--34-240-100-100-p-176-iso8859-1
>> -adobe-helvetica-medium-r-normal--34-240-100-100-p-176-iso8859-1
>
> Looks fine to me. But it still depends on which font font-config is
> going to use. You should try to run:
> fc-match "Adobe Helvetica"
>
> For me this gives:
> helvR12-ISO8859-1.pcf.gz: "Adobe Helvetica" "Regular"
$ fc-match "Adobe Helvetica"
DejaVuSans.ttf: "DejaVu Sans" "Book"
Uli
--
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
More information about the cairo
mailing list