getPageFonts method

PageFonts? getPageFonts(
  1. String name
)

Implementation

PageFonts? getPageFonts(String name) {
  RixaPage? page = searchPage(name);
  if (page != null) {
    PageFonts fonts = page.fonts ?? PageFonts();
    if (page.parent != null) {
      fonts = _searchParentFonts(fonts, page.parent!);
    }
    return fonts;
  }
  return null;
}