Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

get_font_range_end(3alleg4) [debian man page]

get_font_range_end(3alleg4)					  Allegro manual				       get_font_range_end(3alleg4)

get_font_range_end - Returns the last character of a character range in a font. Allegro game programming library. SYNOPSIS
#include <allegro.h> int get_font_range_end(FONT *f, int range) DESCRIPTION
This function allows you to find out the index to the last character of a character range for a font. You can pass -1 for the range parame- ter if you want to know the start of the whole font range, or a number from 0 to (but not including) get_font_ranges(f) to get the start of a specific character range in the font. You should check the start and end of all font ranges to see if a specific character is actually available in the font. Not all characters in the range returned by get_font_range_begin(f, -1) and get_font_range_end(f, -1) need to be available! Example: printf("The font has a character range of %d - %d ", get_font_range_begin(font, -1), get_font_range_end(font, -1)); RETURN VALUE
Returns the last character in the font range, or -1 if that information is not available. SEE ALSO
get_font_ranges(3alleg4), get_font_range_begin(3alleg4), transpose_font(3alleg4) Allegro version 4.4.2 get_font_range_end(3alleg4)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

To find a character immediately following a word

Hello, I have data in one file like - UNB+UNOA:1+006415160:1+WF0000010188:ZZ+080701:0600+2++DELFOR++++T'UNH+2+DELFOR:D:97A:UN................ Now, I want to find what is the character immediately following UNB(here +) UNOA (here :) or the character immedialtely preceding UNH (here ') &... (2 Replies)
Discussion started by: The Observer
2 Replies

2. UNIX for Dummies Questions & Answers

Bytes of character in file

Hi, How do I check for the total bytes of character used by a file? Can I used a od command to check? Thanks. (1 Reply)
Discussion started by: user50210
1 Replies

3. Solaris

Fonts on SunOS 5.6

I work in a SunOS server. I want to check which is the default font. Actually I need to check which font is using right now in Terminal and how to change it. Please help me suggesting the command set ---------- Post updated 08-23-09 at 12:35 AM ---------- Previous update was 08-22-09 at... (5 Replies)
Discussion started by: shoeb
5 Replies

4. Shell Programming and Scripting

regex to find font class

So, I need to find the instances of a certain font and remove far in my testing I am using the find command with regex to find a font I want to pull out. However, I seem to be slightly stuck, and I am sure the beard stroking Unix geniuses here can help me. My example code: find... (7 Replies)
Discussion started by: tlarkin
7 Replies

5. Solaris

Xterm font in JDE or Java apps in CDE

Hello, I'm trying to find out which font xterm uses by default in CDE. I like it, it's nice and clean. My problem is that Java based applications like jEdit cannot find it. Could anybody tell me what is the name of the font? Example is attached. Thank You, PN. (1 Reply)
Discussion started by: pn8830
1 Replies

6. Programming

Perl arrays and loop through array

Hi All I need to get <STDIN> from a user. the <STDIN> is a range of number delimited by "," (comma) and can be with range delimited by "-". Example: 1,2,3,4-9,12,15,34-36,70 Now I need to get this from the user and go on each number and "Do something"... but when trying to do this as above... (2 Replies)
Discussion started by: RedGrinGo
2 Replies

7. Programming

Where do i start with Web Development?

Im completely new to programming and dont really know much about it. I want to start learning about Web Development but i have no idea where to start. Any suggestions? (3 Replies)
Discussion started by: Anna Hussie
3 Replies

8. UNIX for Advanced & Expert Users

Count specific word or character per line

Hi, I need help regarding counting specific word or character per line and validate it against a specific number i.e 10. And if number of character equals the specific number then that line will be part of the output. Specific number = 6 Specific word or char = || Sample data:... (1 Reply)
Discussion started by: janzper
1 Replies

9. Programming

Perl : Numeric Range Pattern Matching

hi Experts just wondering if you can help me check a number between a specific range if i have an ip address , how can i say the valid number for ip between 1 to 254 something like this if ($ip ) =~ /.../ { } what the pattern i need to type thanks (3 Replies)
Discussion started by: doubando
3 Replies

10. UNIX for Advanced & Expert Users

Finding a specific range of character in file

hi, I want to store from 102 character to 128 character to a variable of header record which can be identified as 'HDR' which is the first 3 characters in the same line of a same.txt file. Please advise. Thanks (4 Replies)
Discussion started by: techmoris
4 Replies

11. Shell Programming and Scripting

Generate Regex numeric range with specific sub-ranges

hi all, Say i have a range like 0 - 1000 and i need to split into diffrent files the lines which are within a specific fixed sub-range. I can achieve this manually but is not scalable if the range increase. E.g cat file1.txt Response time 2 ms Response time 15 ms Response time 101... (12 Replies)
Discussion started by: varu0612
12 Replies

12. Shell Programming and Scripting

Print range of numbers

Hi I am getting an argument which specifies the range of numbers. eg: 7-15 Is there a way that i can easily (avoiding loop) print the range of number between and including the specified above. The above example should translate to 7,8,9,10,11,12,13,14,15 (3 Replies)
Discussion started by: tostay2003
3 Replies

13. Shell Programming and Scripting

Unable to identify the special characters beyond the range of "[\x80-\xFF]"

I want to filter out the special character whose ascii value doesn't fall within the range "" . Example:� or Ć. So in that case is there any defined range which will filter out this characters. I can filter those which falls withing "" . Need to filter those special chracter which doesn't... (14 Replies)
Discussion started by: Abhijit Sen
14 Replies

14. Shell Programming and Scripting

Grep - build character range with octal or hexa representation

Hello I would like to make a character range like that : echo "ABCDEF+1234" | grep -E ''or echo "ABCDEF+1234" | grep -E ''or echo "ABCDEF+1234" | grep -E ''Which should works on linux with english language And works also on linux with french language ( english install and after add french )... (4 Replies)
Discussion started by: jcdole
4 Replies

15. UNIX for Beginners Questions & Answers

Change text font to greater one in this very good MOTIF texteditor ?

Hi, i have here found a very good texteditor source code programmed in the MOTIF GUI language. For myself i need NOTHING else to program. To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code. The reason for this post is that the text... (7 Replies)
Discussion started by: Sennenmut
7 Replies