Re: Scaled fixed size fonts
Uli Schlachter <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 > And with these in place you should be able to reproduce my images. To > make sure I have one of them attached to this mail. Uhm, your SVG does specify the glyphs quite differently. You have glyphs specified as a list of rectangles (with an obvious bug that shouldn't matter here, but that I just fixed) while in my SVG, glyphs are specified as paths. So yeah, cairo definitely isn't using a bitmap font here. Uli -- Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo