How to install MS Core Fonts without my desktop switching to them?












1















I need MS Core fonts to use them with XeLaTeX. I do NOT want them anywhere else.



I tried two ways to get these fonts:





  • fetchmsttfonts RPM packet


  • msttcore-fonts-installer from http://mscorefonts2.sourceforge.net (because fetchmsttfonts was not available)


AFAIK both do the same: download MS's *.exe files, extract them to get *.ttf, and install those *.ttf system wide. After that, XeLaTeX works, so that's fine.



However, for some reason these new fonts instantly infect my desktop. Before the installation process is even finished, all my Firefox/Leafpad/Terminal fonts are switched to the freshly downloaded ones.



I find this utterly baffling. Why in the world installing a font automatically switches the whole system to it? Is there a way to just install the fonts and keep the desktop untouched?



My OS is OpenSuSE 13.2/42.1 (on different machines), DE is XFCE.










share|improve this question

























  • I have seen this problem only in Firefox and that is a problem originated from most internet sites, that explicitly ask for microsoft named fonts, like Arial and Times New Roman. So when they become available Firefox has no other choice than using them.

    – alfC
    Aug 13 '16 at 23:35
















1















I need MS Core fonts to use them with XeLaTeX. I do NOT want them anywhere else.



I tried two ways to get these fonts:





  • fetchmsttfonts RPM packet


  • msttcore-fonts-installer from http://mscorefonts2.sourceforge.net (because fetchmsttfonts was not available)


AFAIK both do the same: download MS's *.exe files, extract them to get *.ttf, and install those *.ttf system wide. After that, XeLaTeX works, so that's fine.



However, for some reason these new fonts instantly infect my desktop. Before the installation process is even finished, all my Firefox/Leafpad/Terminal fonts are switched to the freshly downloaded ones.



I find this utterly baffling. Why in the world installing a font automatically switches the whole system to it? Is there a way to just install the fonts and keep the desktop untouched?



My OS is OpenSuSE 13.2/42.1 (on different machines), DE is XFCE.










share|improve this question

























  • I have seen this problem only in Firefox and that is a problem originated from most internet sites, that explicitly ask for microsoft named fonts, like Arial and Times New Roman. So when they become available Firefox has no other choice than using them.

    – alfC
    Aug 13 '16 at 23:35














1












1








1


1






I need MS Core fonts to use them with XeLaTeX. I do NOT want them anywhere else.



I tried two ways to get these fonts:





  • fetchmsttfonts RPM packet


  • msttcore-fonts-installer from http://mscorefonts2.sourceforge.net (because fetchmsttfonts was not available)


AFAIK both do the same: download MS's *.exe files, extract them to get *.ttf, and install those *.ttf system wide. After that, XeLaTeX works, so that's fine.



However, for some reason these new fonts instantly infect my desktop. Before the installation process is even finished, all my Firefox/Leafpad/Terminal fonts are switched to the freshly downloaded ones.



I find this utterly baffling. Why in the world installing a font automatically switches the whole system to it? Is there a way to just install the fonts and keep the desktop untouched?



My OS is OpenSuSE 13.2/42.1 (on different machines), DE is XFCE.










share|improve this question
















I need MS Core fonts to use them with XeLaTeX. I do NOT want them anywhere else.



I tried two ways to get these fonts:





  • fetchmsttfonts RPM packet


  • msttcore-fonts-installer from http://mscorefonts2.sourceforge.net (because fetchmsttfonts was not available)


AFAIK both do the same: download MS's *.exe files, extract them to get *.ttf, and install those *.ttf system wide. After that, XeLaTeX works, so that's fine.



However, for some reason these new fonts instantly infect my desktop. Before the installation process is even finished, all my Firefox/Leafpad/Terminal fonts are switched to the freshly downloaded ones.



I find this utterly baffling. Why in the world installing a font automatically switches the whole system to it? Is there a way to just install the fonts and keep the desktop untouched?



My OS is OpenSuSE 13.2/42.1 (on different machines), DE is XFCE.







fonts






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









Rui F Ribeiro

39.6k1479132




39.6k1479132










asked Jul 7 '16 at 21:48









ScumCoderScumCoder

1114




1114













  • I have seen this problem only in Firefox and that is a problem originated from most internet sites, that explicitly ask for microsoft named fonts, like Arial and Times New Roman. So when they become available Firefox has no other choice than using them.

    – alfC
    Aug 13 '16 at 23:35



















  • I have seen this problem only in Firefox and that is a problem originated from most internet sites, that explicitly ask for microsoft named fonts, like Arial and Times New Roman. So when they become available Firefox has no other choice than using them.

    – alfC
    Aug 13 '16 at 23:35

















I have seen this problem only in Firefox and that is a problem originated from most internet sites, that explicitly ask for microsoft named fonts, like Arial and Times New Roman. So when they become available Firefox has no other choice than using them.

– alfC
Aug 13 '16 at 23:35





I have seen this problem only in Firefox and that is a problem originated from most internet sites, that explicitly ask for microsoft named fonts, like Arial and Times New Roman. So when they become available Firefox has no other choice than using them.

– alfC
Aug 13 '16 at 23:35










1 Answer
1






active

oldest

votes


















1














If you’re going to use TTF fonts in a LaTeX document anyway, the best solution is probably to use LuaLaTeX, where you can use TTF fonts directly. No installation necessary, just put them into a “fonts” directory next to your tex sources and use the fontspec package to load them, e.g.:



% set and load fonts
usepackage{fontspec}
setmainfont[
Ligatures = TeX,
ExternalLocation,
Path = {./fonts/},
Extension = {.otf},
UprightFont = {*Regular},
BoldFont = {*Bold},
ItalicFont = {*Italic},
BoldItalicFont = {*BoldItalic}]{Charter}
setsansfont[
Ligatures = TeX,
Scale = MatchLowercase,
ExternalLocation,
Path = {./fonts/},
Extension = {.ttf},
UprightFont = {*},
BoldFont = {*-Bold},
ItalicFont = {*-Oblique},
BoldItalicFont = {*-BoldOblique}]{Helvetica}
setmonofont[
Ligatures = TeX,
Scale = MatchLowercase]{Latin Modern Mono}


Hope this helps man. I've had a similar problem






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f294530%2fhow-to-install-ms-core-fonts-without-my-desktop-switching-to-them%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    If you’re going to use TTF fonts in a LaTeX document anyway, the best solution is probably to use LuaLaTeX, where you can use TTF fonts directly. No installation necessary, just put them into a “fonts” directory next to your tex sources and use the fontspec package to load them, e.g.:



    % set and load fonts
    usepackage{fontspec}
    setmainfont[
    Ligatures = TeX,
    ExternalLocation,
    Path = {./fonts/},
    Extension = {.otf},
    UprightFont = {*Regular},
    BoldFont = {*Bold},
    ItalicFont = {*Italic},
    BoldItalicFont = {*BoldItalic}]{Charter}
    setsansfont[
    Ligatures = TeX,
    Scale = MatchLowercase,
    ExternalLocation,
    Path = {./fonts/},
    Extension = {.ttf},
    UprightFont = {*},
    BoldFont = {*-Bold},
    ItalicFont = {*-Oblique},
    BoldItalicFont = {*-BoldOblique}]{Helvetica}
    setmonofont[
    Ligatures = TeX,
    Scale = MatchLowercase]{Latin Modern Mono}


    Hope this helps man. I've had a similar problem






    share|improve this answer




























      1














      If you’re going to use TTF fonts in a LaTeX document anyway, the best solution is probably to use LuaLaTeX, where you can use TTF fonts directly. No installation necessary, just put them into a “fonts” directory next to your tex sources and use the fontspec package to load them, e.g.:



      % set and load fonts
      usepackage{fontspec}
      setmainfont[
      Ligatures = TeX,
      ExternalLocation,
      Path = {./fonts/},
      Extension = {.otf},
      UprightFont = {*Regular},
      BoldFont = {*Bold},
      ItalicFont = {*Italic},
      BoldItalicFont = {*BoldItalic}]{Charter}
      setsansfont[
      Ligatures = TeX,
      Scale = MatchLowercase,
      ExternalLocation,
      Path = {./fonts/},
      Extension = {.ttf},
      UprightFont = {*},
      BoldFont = {*-Bold},
      ItalicFont = {*-Oblique},
      BoldItalicFont = {*-BoldOblique}]{Helvetica}
      setmonofont[
      Ligatures = TeX,
      Scale = MatchLowercase]{Latin Modern Mono}


      Hope this helps man. I've had a similar problem






      share|improve this answer


























        1












        1








        1







        If you’re going to use TTF fonts in a LaTeX document anyway, the best solution is probably to use LuaLaTeX, where you can use TTF fonts directly. No installation necessary, just put them into a “fonts” directory next to your tex sources and use the fontspec package to load them, e.g.:



        % set and load fonts
        usepackage{fontspec}
        setmainfont[
        Ligatures = TeX,
        ExternalLocation,
        Path = {./fonts/},
        Extension = {.otf},
        UprightFont = {*Regular},
        BoldFont = {*Bold},
        ItalicFont = {*Italic},
        BoldItalicFont = {*BoldItalic}]{Charter}
        setsansfont[
        Ligatures = TeX,
        Scale = MatchLowercase,
        ExternalLocation,
        Path = {./fonts/},
        Extension = {.ttf},
        UprightFont = {*},
        BoldFont = {*-Bold},
        ItalicFont = {*-Oblique},
        BoldItalicFont = {*-BoldOblique}]{Helvetica}
        setmonofont[
        Ligatures = TeX,
        Scale = MatchLowercase]{Latin Modern Mono}


        Hope this helps man. I've had a similar problem






        share|improve this answer













        If you’re going to use TTF fonts in a LaTeX document anyway, the best solution is probably to use LuaLaTeX, where you can use TTF fonts directly. No installation necessary, just put them into a “fonts” directory next to your tex sources and use the fontspec package to load them, e.g.:



        % set and load fonts
        usepackage{fontspec}
        setmainfont[
        Ligatures = TeX,
        ExternalLocation,
        Path = {./fonts/},
        Extension = {.otf},
        UprightFont = {*Regular},
        BoldFont = {*Bold},
        ItalicFont = {*Italic},
        BoldItalicFont = {*BoldItalic}]{Charter}
        setsansfont[
        Ligatures = TeX,
        Scale = MatchLowercase,
        ExternalLocation,
        Path = {./fonts/},
        Extension = {.ttf},
        UprightFont = {*},
        BoldFont = {*-Bold},
        ItalicFont = {*-Oblique},
        BoldItalicFont = {*-BoldOblique}]{Helvetica}
        setmonofont[
        Ligatures = TeX,
        Scale = MatchLowercase]{Latin Modern Mono}


        Hope this helps man. I've had a similar problem







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 7 '16 at 22:03









        kommander0000kommander0000

        664




        664






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f294530%2fhow-to-install-ms-core-fonts-without-my-desktop-switching-to-them%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Histoire des bourses de valeurs

            Why is there Russian traffic in my log files?

            Rename multiple files to decrement number in file name?