Debian Programming :: SDL And True Type Fonts

Dec 13, 2013

I am trying to learn how to use true type fonts in SDL using libsdl-ttf. I am trying to use the font "FreeSans.ttf" but my program prints out the message "Couldn't open FreeSans.ttf." Any way to get a list of what fonts true type fonts exist using C++ and SDL?

View 2 Replies


ADVERTISEMENT

OpenSUSE Install :: No MS True Type Fonts In 11.4

Mar 13, 2011

When installing OpenSUSE 11.4 32 bits (NET-installation) no MS True Type Fonts were installed during the additional online update. They weren't just there. So for instance LibreOffice is unusable for me. How do I still get them?

View 9 Replies View Related

Ubuntu :: Just See A Row Of Squares Instead Of Letters When Select A Ms True Type Font

May 26, 2011

I reinstalled Ubuntu after a disastrous install of gnome 3. I installed the mscore fonts etc. When I select a ms true type font I just see a row of squares instead of letters

View 2 Replies View Related

Fedora Installation :: Installation Of True Type Font 'Helvetica'

Jan 31, 2009

My application needs system's default fonts to be set to 'Helvetica'. Fedora 10 does not have this font. How to install this font?

View 2 Replies View Related

Fedora :: Type In Hindi Fonts?

Apr 13, 2010

I have downloaded many hindi fonts and installed them in the /usr/share/fonts but when i try to type in open office writer using them the fonts appear in plain english.How do i type in hindi fonts in open office

View 14 Replies View Related

Programming :: Bash - Expression Is Always Evaluating To True

Jun 7, 2011

This line if [[ $hamachi_reachable = true && $lan_reachable = true ]]; then is always evaluating to true. I gave two ips that are not valid, so that both variables would become false yet the whole expression is evaluating as true. With that set -x in there, I get this output.

Where am I going wrong?

Code:

View 11 Replies View Related

Programming :: Error - Array Type Has Incomplete Element Type

Jan 26, 2010

I'm trying to compile a program and it gives me the following:

I checked cmath-util.h:46 and cmath-util.h:48:

I'm not a C person, and the author is unavailable so far.

View 5 Replies View Related

Programming :: Find Command Return True If File Found?

May 18, 2011

How to manage the find command to return true or false if a file was found/or not? I tried to man find but didn't found anything.

View 12 Replies View Related

Debian :: Free Tool To Brodcast Multiple Wecams True A *nix Server?

Jun 6, 2010

Somone that know about any good free tool to brodcast multiple wecams true a *nix server? been looking for one a while now without any luck, i need

1: Users can connect to it by them self.

2: They need to register there own cams.

3: A login screen for the users brodcasting.

4: no need for users looking on the site to register (a + if they have to to be able to browse true the cams)

5: I dont want to spend alot of money on this, i planing to host this for free and the last thing i need is for me to have to pay money for it.

View 2 Replies View Related

Debian :: Command To Delete Gnome And Leave A True Xfce As The Only Desktop?

Feb 13, 2010

is it possible to leave just xfce as the only desktop and delete gnome or would that disrupt things since gnome is the default? if so, what would be the command to delete gnome and leave a true xfce as the only desktop?

View 6 Replies View Related

Debian :: Using Squeeze And A Canon Pixma IP4600 Printer - Printers Color Isn't True

Oct 29, 2010

Using Squeeze and a Canon Pixma IP4600 Printer. The color on the printed pages used to be true and now it isn't, it still print is color just not the correct colors.I am color deficient or color challenged (what used to be called color blind) which dosen't mean I can't tell the difference between what is on the screen and what is printed It's not the printer as I have tested it with other Linux and a windows system and it's good.

View 2 Replies View Related

Debian Configuration :: Can't Disable Tapping : Gsynaptics Thinks SHMConfig Isn't True" / Fix It?

Mar 31, 2010

I don't understand what more i can do, the bellow is what i have done. is there a conspiracy against me??? (ive been through 3 distros and spent the better part of 2 months , i mean literally, all day every day, trying to get one distro to actually function at reasonabe capacity and each one is full of its own problems ) now:

This is the input device section of my old xorg.conf:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"

View 5 Replies View Related

Programming :: Convert The String Data Type To Other Primitive Data Type?

Mar 4, 2011

I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.

Code
====
#include <vector>
#include <iostream>
#include <string>

[Code].....

View 7 Replies View Related

Programming :: BASH: While True To "read" A File?

Sep 16, 2010

I had a script once that had in it a while true; do and read lines or data from a file similarly to a while read; do. I have a script I'm working on now where I'm trying to "prove the negative" that certain substrings culled from one file do not appear in another file. I'll try to explain what I mean with an example. An item in one list might be

Code:

[URL]

But the other list may only have

Code:

harvey1996nicks:Six stores in north London
harvey1997nicks:Three stores in Bristol
harvey1999nicks:Eight stores in the lower Midlands

The problem is, other items in the first list do match items in the second. The script I'm drawing this from has already pulled those out and written them to one (or several) lists that I've been able to use with other programs (Exiv2 specifically). The furthest I've bothered to go in the direction of "proving the negative" is a slow "if/then/fi" loop that looks like this:

Code:

linecheck=$[linecheck+1]
if [[ "$linecheck" == "$axe" ]] && [[ "$matchX" == "" ]]; then echo -e $file>>nomatches.txt; fi

linecheck is counting the lines of the second file -- the one with the designations or "labels" (the "so many stores in ..." from my example) -- as they are checked against the file names in the first (the "harvey199*nicks.jpg" etc of my example. axe is the number of lines in that first list (culled from a cat |wc -l at the beginning of the script). matchX is the variable the "prove the positive" script used for matches, one list to the other, which then got written line by line to a text file.

View 1 Replies View Related

Software :: Error In File "/usr/share/applications/kde4/kfontview.desktop": "fonts/package" Is An Invalid MIME Type

Oct 5, 2010

attempting to install VLC I get the following errors;

Error in file "/usr/share/applications/kde4/kfontview.desktop": "fonts/package" is an invalid MIME type ("fonts" is an unregistered media type)
Warning in file "/usr/share/applications/gnome-nautilus-folder-handler.desktop": usage of MIME type "x-directory/gnome-default-handler" is discouraged ("x-directory" is an old media type that should be replaced with a modern equivalent)
Warning in file "/usr/share/applications/gnome-nautilus-folder-handler.desktop": usage of MIME type "x-directory/normal" is discouraged ("x-directory" is an old media type that should be replaced with a modern equivalent)

Thoughts or suggestions on how to fix this. I running Fedora 13 and I used 'yum install vlc' to install the app.

View 7 Replies View Related

Debian :: Is It True Mail Will Be Stored In / Var / Mail By Default?

Jul 12, 2011

I've installed Postfix and have the server running.On installation, it asked me which domain the service will be for. I entered "test.com". The service will be used for multiple domains. Can Postfix service multiple domains? If so, how can it be done?How does one create a user account? I have read the user account is a UNIX user account. My UNIX user name is "n", so would that mean my e-mail would be "n@test.com"?Is it true mail will be stored in /var/mail by default?I read on Wikipedia that Postfix does not support IMAP, so how does one access mail remotely, or even locally?

View 2 Replies View Related

Programming :: Send All Fonts On Computer To Printer?

May 27, 2010

I need to write a command line script.

I have scribus install on my machine which someone suggested would do what I want. It does. But unfortunately I can not get it to work. The text print screen freezes when it is loading a font and will not respond.

One of the other disadvantages with scribus I did find was it wanted to print the fonts in all the size available and at 3 per page I have enough fonts to fill 607 pages.

I have googled, read all the scripting books I have, read several online tutorials and have not found a way to send a request for a certain style font to the printer from the command line.

View 5 Replies View Related

Ubuntu :: Firefox Fonts Wrong After Installing Truetype Fonts / Why Is So?

Jan 15, 2010

I just finished installing a bunch of truetype fonts. After installing them, firefox is displaying "bradybunch" font when I search google.

The font settings are all serif and sans serif in both the system fonts settings and firefox settings.

I am using ubuntu 9.10.

Any idea why this could be happening?

View 1 Replies View Related

Ubuntu :: Can't Find Fonts In The Fonts Dropdown Menu In Oo Writer

Oct 14, 2010

I would like to use the Adobe Garamond Pro in my text doccument in open office writer. I got a text document where from a friend where it is used so I know that it can. But when I want to edit I cant find it in the fonts dropdown menu.

View 2 Replies View Related

Ubuntu :: Over 1500 Fonts - Move Them To My /usr/share/fonts Folder

Jul 3, 2011

I have a folder with over 1500 fonts, I would like to move them to my /usr/share/fonts folder so that they can be used. Some are from Windows, some are just random extras. I've installed the msttcorefonts, but there are quite a few missing that make some wen pages look different.

How can I go about putting the fonts from my folder, into the appropriate /usr/share/fonts folder to be used? And how can I move them all? I can't drag and drop them, and mv FONT_NAME /usr/share/fonts for all of them will take a month or two. Is there a way to elevate my self to be able to just drag and drop them all? And which folder would they need to go into for them to be used in Chrome and Firefox?

View 5 Replies View Related

Programming :: C++ Variable Type Followed By *?

Jul 1, 2010

In C++ what does the suffix, "*" mean appended to a variable type, e.g., "char* variable1;"?

View 3 Replies View Related

Programming :: 'fstream' Does Not Name A Type

Nov 29, 2010

I have included fstream in my file (#include <fstream>) In the file, I have a class declaration and a private variable static fstream fileStopWatch; Then I am getting the error "'fstream' does not name a type" It was working in gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) but not working in gcc version 4.4.4 (GCC)

[Code].....

View 2 Replies View Related

OpenSUSE :: 3.2 Fonts Get Loaded To /usr/local/share/fonts?

Feb 23, 2010

I have just installed openSUSE 11.2 X86_64 on my laptop, I then used KDE to install lots of type 1 fonts for my printer. These get loaded to /usr/local/share/fonts/...These installed fonts are visible to KDE (KWRITE) and GIMP so I assume that the installation was O.K. When I start openOFFICE writer I do not see these fonts. The font selection appears to be the fonts located under /usr/share/fonts. I have not tried other ooo3 components. I assume that they are not going to see the fonts either.

I have searched google and it appears that /usr/local/share/fonts is the correct location for non-packaged fonts. Has anybody any idea what is wrong? I think I could move all the fonts to /usr/share/fonts and ooo3 would work but this seems to break the installation directory structure. I have considered symlinks but I don't like the idea of defining a font twice to Linux and creating the syslinks is more work than reinstalling the fonts if they are lost

View 7 Replies View Related

General :: Data Type In Programming?

Jun 14, 2010

I declared a variable as int data type which was a placeholder for a resulttatus (meaning, based on the result status that variable varies from 0/1/2/3. It can contain only these four values).data type is 4 byte integer in C#. But I can declare this variable as which represents a 1 byte integer. Since that variable contains only 1 or 2 or 3 or 4, declaring the variable asis wastage of memory space.Before declaring any variable we need to just think of the memory space needed for that variable, our requirement,

View 6 Replies View Related

Programming :: Dynamic List With Different Type - C++

Jun 26, 2010

I'm quite new to c++ programming, so my concepts are not so increased yet...

I wanna to create a list to store my objects. I'll resume them here:

Code:

private:

And what I want to do is an event list:

Code:

Sometimes this works and sometimes I got "segmentation fault".

I think I'm doing it wrong, cause these objects have different sizes, so I don't know if I could have all of them in a single array.

View 8 Replies View Related

Programming :: Get List Of Variables Of Particular Type ?

Jun 13, 2011

I have a C header file which have arrays of predefined(known) structure type. But i dont have names of arrays and their size. when i include that file and compile my application, i want to know the names and sizesof those arrays.

purpose of application is to get the content of those arrays and to explain it in descriptive words instead of hex numbers.ofcourse this can be done by file pointers and reading also with out header file inclusion, but as i am working in C, once compiled, those variables are in my address space in i include header file.

View 5 Replies View Related

Programming :: Why The Use Of File Type Is Said Undeclared

Aug 29, 2010

i m doing a program to open a file, however, there is error saying that 'File' undeclared. but I thought File is a type like int or char, isnt it? below is my codes:

Code:

#include "mpi.h"
#include <stdio.h>
#include <math.h>

[code]...

i have been make the statement with error in red color.

View 2 Replies View Related

Debian Configuration :: Configure Touchpad - Error "gsynaptics Couldnt Initialize You Have To Set 'shmconfig' 'true' In Xorg.conf Or Xf86config To Use Gsynaptics"

Jun 5, 2010

When i want to configure my touchpad on my dell inspiron 1525 with debian lenny then i got this message: gsynaptics couldnt initialize you have to set 'shmconfig' 'true' in xorg.conf or xf86config to use gsynaptics My touchpad is an alps and not a synaptics so far i can see. My xorg.conf is this: [URL]

View 13 Replies View Related

Ubuntu :: SPE - Learn Programming In Python, But Can't Type Anything?

May 15, 2011

ubuntu terminal mingling made me want to learn programming, i started with python, using idle workspace (is this the right term?)i got to the stage when i need and want to use SPE workspace.i have downloaded it, but can't type in it - when i type, nothing happens at all.where have i been wrong please ?

View 3 Replies View Related

Programming :: Double Data Type Mantissa?

Nov 23, 2010

in c/c++, double is usually 8 bytes. It has a 52-bit mantissa (or significand, or base), an 11-bit exponent, and a 1-bit sign. My question is: is the mantissa a 52-bit integer? Or is the decimal point just after the first bit. Meaning: if the mantissa was 1000110011100011 (in binary) would that make the value of the mantissa (assuming the exponent was 0) 1000110011100011, or 1.000110011100011? (in binary)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved