devanagari font localization

Hello, I have a Devanagari font that is set up for two languages MARATHI and SANSKRIT. If using SANSKRIT there are a small number of characters that have particular designs which differs from those seen when using MARATHI. Is there a way I can conveniently switch between the MARATHI and SANSKRIT input languages within LibreOffice? Many thanks, graphity.