Mixing fonts and microtype settingsHow to generate compounded diacritical fonts for Sanskrit with XeTeX and...

Is my plan for fixing my water heater leak bad?

I can't die. Who am I?

What am I? I am in theaters and computer programs

When does inspiration across artforms become plagiarism

Compare four integers, return word based on maximum

Waiting for the gravy at a dinner table

How to mitigate "bandwagon attacking" from players?

g++ and clang++ different behaviour with recursive initialization of a static member

If nine coins are tossed, what is the probability that the number of heads is even?

Why is working on the same position for more than 15 years not a red flag?

Is there any relevance to Thor getting his hair cut other than comedic value?

How to approximate rolls for potions of healing using only d6's?

When should a commit not be version tagged?

As a new poet, where can I find help from a professional to judge my work?

What is a term for a function that when called repeatedly, has the same effect as calling once?

Exponential growth/decay formula: what happened to the other constant of integration?

What are these green text/line displays shown during the livestream of Crew Dragon's approach to dock with the ISS?

Auto Insert date into Notepad

Book where the good guy lives backwards through time and the bad guy lives forward

Are small insurances worth it

How to count occurrences of Friday 13th

If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?

Is there a German word for “analytics”?

I am on the US no-fly list. What can I do in order to be allowed on flights which go through US airspace?



Mixing fonts and microtype settings


How to generate compounded diacritical fonts for Sanskrit with XeTeX and LuaTeX?XeTeX, microtype and fontspecHow to get copyright when mixing T1 fonts and fontspec?microtype settings for Adobe Caslon Pro?microtype settings for dummiesfontspec & microtype: fine tune OpenType fontsWhich common LaTeX Fonts come prepackaged with specific settings for Microtype?Microtype settings for Adobe Caslon Pro (LuaLaTeX)Setting SMALL CAPS font protrusion in microtype for Charis SIL?Cancellation of Color fontspec font settings while defining microtype contextMicrotype: tracking for bold fonts













1















I am defining fall backs for missing glyphs in a font and I am partly building on @egreg's answer to this question.



Here's a MWE (never mind that the actual replacement defined here makes little sense):



documentclass{article} 
usepackage{microtype}
usepackage{fontspec}
usepackage{newunicodechar}

newfontfamilypagella{TeX Gyre Pagella}[
Ligatures={TeX}]
newunicodechar{Ḍ}{%
pagella{Ḍ}%
}

DeclareCharacterInheritance
{ encoding = {EU1,EU2,TU},
family = {LatinModernRoman} }
{ D = {Ḍ,pagella{Ḍ}}}

begin{document}

end{document}


This works insofar as Pagella is used to print Ḍ, but I am unable to tell microtype that it should also apply the font settings Latin Modern for this character. Although I use DeclareCharacterInheritance, I still get the following error message:



Package microtype Warning: Unknown slot number of character
(microtype) `Ḍ (= pagella {Ḍ})'
(microtype) in font encoding `TU' in inheritance list
(microtype) `mt-LatinModernRoman.cfg/105(protrusion)'.


(I tried different variations of DeclareCharacterInheritance, but none of them worked).










share|improve this question



























    1















    I am defining fall backs for missing glyphs in a font and I am partly building on @egreg's answer to this question.



    Here's a MWE (never mind that the actual replacement defined here makes little sense):



    documentclass{article} 
    usepackage{microtype}
    usepackage{fontspec}
    usepackage{newunicodechar}

    newfontfamilypagella{TeX Gyre Pagella}[
    Ligatures={TeX}]
    newunicodechar{Ḍ}{%
    pagella{Ḍ}%
    }

    DeclareCharacterInheritance
    { encoding = {EU1,EU2,TU},
    family = {LatinModernRoman} }
    { D = {Ḍ,pagella{Ḍ}}}

    begin{document}

    end{document}


    This works insofar as Pagella is used to print Ḍ, but I am unable to tell microtype that it should also apply the font settings Latin Modern for this character. Although I use DeclareCharacterInheritance, I still get the following error message:



    Package microtype Warning: Unknown slot number of character
    (microtype) `Ḍ (= pagella {Ḍ})'
    (microtype) in font encoding `TU' in inheritance list
    (microtype) `mt-LatinModernRoman.cfg/105(protrusion)'.


    (I tried different variations of DeclareCharacterInheritance, but none of them worked).










    share|improve this question

























      1












      1








      1








      I am defining fall backs for missing glyphs in a font and I am partly building on @egreg's answer to this question.



      Here's a MWE (never mind that the actual replacement defined here makes little sense):



      documentclass{article} 
      usepackage{microtype}
      usepackage{fontspec}
      usepackage{newunicodechar}

      newfontfamilypagella{TeX Gyre Pagella}[
      Ligatures={TeX}]
      newunicodechar{Ḍ}{%
      pagella{Ḍ}%
      }

      DeclareCharacterInheritance
      { encoding = {EU1,EU2,TU},
      family = {LatinModernRoman} }
      { D = {Ḍ,pagella{Ḍ}}}

      begin{document}

      end{document}


      This works insofar as Pagella is used to print Ḍ, but I am unable to tell microtype that it should also apply the font settings Latin Modern for this character. Although I use DeclareCharacterInheritance, I still get the following error message:



      Package microtype Warning: Unknown slot number of character
      (microtype) `Ḍ (= pagella {Ḍ})'
      (microtype) in font encoding `TU' in inheritance list
      (microtype) `mt-LatinModernRoman.cfg/105(protrusion)'.


      (I tried different variations of DeclareCharacterInheritance, but none of them worked).










      share|improve this question














      I am defining fall backs for missing glyphs in a font and I am partly building on @egreg's answer to this question.



      Here's a MWE (never mind that the actual replacement defined here makes little sense):



      documentclass{article} 
      usepackage{microtype}
      usepackage{fontspec}
      usepackage{newunicodechar}

      newfontfamilypagella{TeX Gyre Pagella}[
      Ligatures={TeX}]
      newunicodechar{Ḍ}{%
      pagella{Ḍ}%
      }

      DeclareCharacterInheritance
      { encoding = {EU1,EU2,TU},
      family = {LatinModernRoman} }
      { D = {Ḍ,pagella{Ḍ}}}

      begin{document}

      end{document}


      This works insofar as Pagella is used to print Ḍ, but I am unable to tell microtype that it should also apply the font settings Latin Modern for this character. Although I use DeclareCharacterInheritance, I still get the following error message:



      Package microtype Warning: Unknown slot number of character
      (microtype) `Ḍ (= pagella {Ḍ})'
      (microtype) in font encoding `TU' in inheritance list
      (microtype) `mt-LatinModernRoman.cfg/105(protrusion)'.


      (I tried different variations of DeclareCharacterInheritance, but none of them worked).







      fonts fontspec microtype






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 15 hours ago









      SimifilmSimifilm

      2,1181322




      2,1181322






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          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%2ftex.stackexchange.com%2fquestions%2f477648%2fmixing-fonts-and-microtype-settings%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX 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%2ftex.stackexchange.com%2fquestions%2f477648%2fmixing-fonts-and-microtype-settings%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

          Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...