get_font_range_end(3alleg4) Allegro manual get_font_range_end(3alleg4)NAME
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)
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)
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)
So, I need to find the instances of a certain font and remove it....so 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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)