/* Local Sinhala fonts for the caption editor.
 *
 * UNICODE fonts render Whisper's Unicode output directly. LEGACY fonts map
 * Sinhala glyphs onto a–z/A–Z, so their text must be run through the
 * Unicode→Legacy converter before display (see packages/ui fonts/legacy).
 * Browsers only download a font when it's actually applied to rendered text,
 * so declaring all of these is cheap until one is selected. */

/* ---- Unicode (free) ---- */
@font-face { font-family: "AF Sandarenu"; src: url("/fonts/af-sandarenu.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "AF Sigiri";    src: url("/fonts/af-sigiri.ttf")    format("truetype"); font-display: swap; }
@font-face { font-family: "Maname";       src: url("/fonts/maname.ttf")       format("truetype"); font-display: swap; }

/* ---- Legacy (pro) — need conversion ---- */
@font-face { font-family: "Tharu";          src: url("/fonts/tharu.ttf")          format("truetype"); font-display: swap; }
@font-face { font-family: "CC Old Press";   src: url("/fonts/cc-oldpress.ttf")    format("truetype"); font-display: swap; }
@font-face { font-family: "Pawana";         src: url("/fonts/pawana.ttf")         format("truetype"); font-display: swap; }
@font-face { font-family: "Aloka";          src: url("/fonts/aloka.ttf")          format("truetype"); font-display: swap; }
@font-face { font-family: "Mihiravi";       src: url("/fonts/mihiravi.ttf")       format("truetype"); font-display: swap; }
@font-face { font-family: "Aragalaya";      src: url("/fonts/aragalaya.ttf")      format("truetype"); font-display: swap; }
@font-face { font-family: "Pradeep";        src: url("/fonts/pradeep.ttf")        format("truetype"); font-display: swap; }
@font-face { font-family: "Arana";          src: url("/fonts/arana.ttf")          format("truetype"); font-display: swap; }
@font-face { font-family: "Tharu Nikini";   src: url("/fonts/tharu-nikini.ttf")   format("truetype"); font-display: swap; }
@font-face { font-family: "Anupama";        src: url("/fonts/anupama.ttf")        format("truetype"); font-display: swap; }
@font-face { font-family: "Tharu Malee";    src: url("/fonts/tharu-malee.ttf")    format("truetype"); font-display: swap; }
@font-face { font-family: "Tharu Nidahasa"; src: url("/fonts/tharu-nidahasa.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Tharu Sansala";  src: url("/fonts/tharu-sansala.ttf")  format("truetype"); font-display: swap; }
@font-face { font-family: "Fontoshan";      src: url("/fonts/fontoshan.ttf")      format("truetype"); font-display: swap; }
