gvgetfontlist.h 750 B

12345678910111213141516171819202122232425262728
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at https://graphviz.org
  9. *************************************************************************/
  10. #pragma once
  11. #include <pango/pangocairo.h>
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. typedef struct {
  16. char* gv_ps_fontname;
  17. char* gv_font;
  18. } gv_font_map;
  19. extern gv_font_map* get_font_mapping(PangoFontMap * pfm);
  20. #ifdef __cplusplus
  21. }
  22. #endif