LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2018, 08:54 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
(LQ search function down) Font declaration in c code how to.


I was using the search. 'search forums' very first selection and got this, then I back it to the page again, using the arrow in the web browser, refreshed the page, tried again and got this same message.
Quote:
Database Error Database error
The LinuxQuestions.org database has encountered a problem.
Please try the following:

Load the page again by clicking the Refresh button in your web browser.
Open the www.linuxquestions.org home page, then try to open another page.
Click the Back button to try another link.

The www.linuxquestions.org forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.
so I am posting the question I was looking for first in here in lue of using the search function.

for Eterm there is an issue using this program in some distros where the fonts that it has been programmed to use, the distros no longer support the fonts, I assume, because Eterm is always giving an error looking for fonts , cannot find them bailing out message.

it seems to me that Eterm should be able to use the same fonts that xterm uses, and it still works just fine for as 'old' as it is.

in the Eterm font.c file there is this bit of code for default fallback fonts. I was thinking due to lack of knowing how to tell it to change its complete set of fonts it is suppose to look for and use, or how ever this is setup , just change these few lines to confourm to what 'todays' distros are using for basic X11 fonts that xterm even uses, so that this issuse can be rid of.
Code:
     } else {
            name = "fixed";
#ifdef MULTI_CHARSET
            fallback = "-misc-fixed-medium-r-normal--13-120-75-75-c-60-iso10646-1";
#else
            fallback = "-misc-fixed-medium-r-normal--13-120-75-75-c-60-iso8859-1";
#endif
        }
what I was looking for was what is that format called, so I can further my search to find something that will work in Eterm by just replacing that with two different ones that the majority of distos now have within their repo if needed to be install so this old yet still usable terminal can work. thus removing the head ache of them errors.

I find that it is this one iso10646-1, though it has to be both else it would not error out with a no fonts found, then bail out and not work.

Last edited by BW-userx; 12-11-2018 at 08:55 AM.
 
Old 12-11-2018, 10:48 PM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,862
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
I don't know about fonts, but I do think Eterm is abandoned. Here is a bug report from 2017 that has never been replied: https://sourceforge.net/p/eterm/disc...?limit=25#89d9
 
Old 12-12-2018, 06:56 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
it doesn't mean I canonot fork it off githib and work on it / tinker with it.
I was ust wondering what is the term used to indecate that format, so I can at least google around using that for a key word search so I cac search that by name and not paste that into the box and hope I get a hit.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] QWebView, forward declaration, "error: forward declaration of 'struct QWebView'" Squall90 Programming 1 12-28-2010 05:40 AM
Array declaration in class or main function??? redhatrosh Programming 4 03-15-2005 02:13 PM
Unintelligible declaration of signal function Nerox Programming 4 08-11-2004 04:45 PM
Arguments in PHP function declaration Parksy Programming 5 07-04-2004 04:22 PM
Problem with function declaration Linh Programming 3 04-26-2004 04:58 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration