|Subject:||Re: [Texmacs-dev] Extra specific otf fonts|
|Date:||Fri, 22 Aug 2014 10:54:00 +0100|
On the latest build, trying the font tricks to make Museo for Dell work:tm --delete-font-cache -q
and then a document with:Scheme] (font-database-build-local)Scheme] (open-font-selector)Scheme]I find that "Museo Sans For Dell 300" is always subject to substitution and replaced by "Museo For Dell 300" (according to the label by the "Sample text")If I delete the "Museo For Dell" font then "Museo Sans For Dell 300" is replaced by "Museo For Dell Unknown" and some totally other font is used instead."Museo Sans For Dell" is never rendered although it is recognized, parsed and the various styles are presented in the font selector, and may be selected with the Filter "Sans Serif" and so on.SamOn Mon, Dec 17, 2012 at 2:43 PM, Sam Liddicott <address@hidden> wrote:
Wow, this is complicated.
I found I also had to use the option "--delete-font-cache -q" first or deleted fonts were still being listed, despite (font-database-build-local).
I ALSO have to restart after running (font-database-build-local) or I get wrong fonts used in the preview and document.
For the sans font (which has an italic variant)with otf, <em|...> shows italic, but <with|font-series|bold|...> has no effect
but ith .ttf, <em|...> has no effect but <with|font-series|bold|...> does show bold(the otf has weights 100, 300, 500, 700)With .otf fonts, the serif font is used in the dialog sample text where the sans font should be shown, but in the document it is OK.Will it help if I send you the fonts?On Mon, Dec 17, 2012 at 8:23 AM, Sam Liddicott <address@hidden> wrote:
On Sun, Dec 16, 2012 at 9:49 PM, Joris van der Hoeven <address@hidden> wrote:
On Fri, Dec 14, 2012 at 10:39:58AM +0000, Sam Liddicott wrote:I'm sorry, you should also do
> I updated SVN and rebuilt. With or without my extra patch to make the otf
> museo work, I cannot get it or other .ttf fonts to appear in the font
> I tried copying to ~/.TeXmacs/fonts/truetype as well as ~/.fonts (I
> committed a patch a short while ago so that ~/.fonts is checked as that is
> where gnome installs personal fonts).
(font-database-build-local)yes that made it work.Interestingly "Museo For Dell" and "Museo Sans For Dell" both display the same. The sans font shows the non-sans font in the sample text.The styles correctly show in the selector box but make no difference to the sample text which is the problem I was having initially - perhaps suggesting that I did it right?
However OpenOffice shows correctly:
in order to update your database.
I am not sure yet how automatic we can make this.Well I think local ~/.fonts can be scanned for changes each time it starts. If a file is added, removed, or modified since last start then that font can be removed from the cached list and then new files can be added.Thanks for your help.SamYes.
> Only Dell I think. But I think your changes should support any ttf or otf font?
Best wishes, --Joris
Texmacs-dev mailing list
Screenshot from 2014-07-21 11:45:28.png
Description: PNG image
|[Prev in Thread]||Current Thread||[Next in Thread]|