FLTK logo

[master] 79ce654 - Fix non-xft build referencing fl_get_font_xfld() (#461)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 79ce654 - Fix non-xft build referencing fl_get_font_xfld() (#461) "Albrecht Schlosser" Jul 09, 2022  
 
commit 79ce6547ce78c765290db574f1ff4930de862ba0
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Sat Jul 9 22:05:46 2022 +0200
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Sat Jul 9 22:05:46 2022 +0200

    Fix non-xft build referencing fl_get_font_xfld() (#461)
    
    This is only one part of issue 461 which describes two build errors
    on "Raspberry Pi4 bullseye". It turned out that the build didn't
    find Xft.

 src/drivers/X11/Fl_X11_Screen_Driver.cxx | 3 +++
 1 file changed, 3 insertions(+)

diff --git src/drivers/X11/Fl_X11_Screen_Driver.cxx src/drivers/X11/Fl_X11_Screen_Driver.cxx
index b1a62b2..09e923b 100644
--- src/drivers/X11/Fl_X11_Screen_Driver.cxx
+++ src/drivers/X11/Fl_X11_Screen_Driver.cxx
@@ -56,6 +56,9 @@ extern const char *fl_bg;
 extern const char *fl_bg2;
 // end of extern additions workaround
 
+#if !USE_XFT
+extern char *fl_get_font_xfld(int fnum, int size);
+#endif
 
 XIM Fl_X11_Screen_Driver::xim_im = 0;
 
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.