Latin + Indic Font merging

7 views
Skip to first unread message

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Feb 14, 2026, 1:00:14 AM (4 days ago) Feb 14
to sanskrit-programmers

Can someone merge all Noto Sans Indic and Latin fonts into a single functioning font?

Motivation 
managing font transitions in autogenerated (from md) latex files can be hairy - like - 

\setmainfont{Noto Sans}[Script=Latin,Renderer=HarfBuzz]

\newfontfamily\devanagarifont{Noto Sans Devanagari}[
  Script=Devanagari,
  Renderer=HarfBuzz,
  Scale=1.3,
  ItalicFont={Noto Sans Devanagari},
  ItalicFeatures={FakeSlant=0.2},
  BoldItalicFont={Noto Sans Devanagari},
  BoldItalicFeatures={FakeSlant=0.2, Weight=Bold}
]

\setTransitionsForDevanagari{\devanagarifont}{\rmfamily}
\setTransitionsForDevanagariExtended{\devanagarifont}{\rmfamily}
\setTransitionsForDevanagariExtendedA{\devanagarifont}{\rmfamily}
\setTransitionsForVedicExtensions{\devanagarifont}{\rmfamily}
\setTransitionsFor{DevanagariDanDa}{\devanagarifont}{\rmfamily}


% Define a font that contains the arrow symbol (Noto Sans Symbols is best)
\newfontfamily\symbolfont{Noto Sans Symbols}[Renderer=HarfBuzz]

% FIX: Use newunicodechar for arrows instead of ucharclasses transitions
\usepackage{newunicodechar}
\newunicodechar{→}{{\symbolfont →}}
\newunicodechar{←}{{\symbolfont ←}}
\newunicodechar{↔}{{\symbolfont ↔}}

--
--
Vishvas /विश्वासः

Reply all
Reply to author
Forward
0 new messages