pub fn resolve_font_entry(entry: &FontEntry) -> Result<Vec<PathBuf>>Expand description
Validate a FontEntry and resolve it to a list of TTF file paths.
- Local entry (
pathset,sourceabsent): returns[path]as-is. - Google Fonts entry (
source = "google",pathabsent): downloads (or reads from cache) and returns one path per requested weight. - Conflict (
sourceandpathboth set): returns an error. - Neither (
pathabsent andsourceabsent): returns an error.