Programming :: Increase Font Size In GTK2 C Program?

Jul 14, 2010

I am writing a program in C to create a GUI application using GTK 2. My actual program is quite large, so I am using a modified version of the sample program from GNOME library for trial. I wish to increase the font size, and I have using PangoFontDescription. I have made that section of the code bold and italic below for quick reference to the code that affects fonts. But it does not make any difference. I am compiling the C file using gcc. The code is as follows(hello.c):

#include <gtk/gtk.h>
#include <glib.h>
#include <gdk/gdk.h>

[code]....

View 5 Replies


ADVERTISEMENT

Fedora :: Increase Font Size In Xdialog?

Mar 30, 2010

How do I increase my font size in xdialog?

View 4 Replies View Related

Ubuntu :: Can't Increase Font Size In Pidgin

Aug 28, 2010

I cant Increase font size In Pidgin

View 1 Replies View Related

CentOS 5 :: How To Increase Xdialog Font Size

Feb 16, 2010

From inside my bash script, is there a way to increase my Xdialog default font size? If not, is there any other way to do it? I found a commercial program using Xdialog with instructions on increasing the font size, but they did not say how they did it. But, it does mean it can be done:[URL]...

View 3 Replies View Related

OpenSUSE :: Content Displaces When Increase Font Size?

May 3, 2010

When I am in the middle of reading a post in Akgregator and I decide I need larger characters, I press [Ctrl [+]] to increase font size. This increases the characters displayed but also displaces my vertical reading position so that I have to scroll to the text I have been reading.

View 3 Replies View Related

General :: Increase Xdialog Default Font Size?

Feb 15, 2010

From inside my bash script, is there a way to increase my Xdialog default font size? If not, is there any other way to do it? I found a commercial program using Xdialog with instructions on increasing the font size, but they did not say how they did it. But, it does mean it can be done: [URL]

View 3 Replies View Related

Slackware :: Increase The Virtual Terminal Font Size On A Tty?

Dec 3, 2010

How do I increase the font size on a tty. I have googled it and still don't have a Slackware way of doing it. What /etc file needs to be edited?

View 1 Replies View Related

OpenSUSE :: Increase The Font Size From Konqueror Settings The Web Browser Fonts Change?

Apr 29, 2011

When I increase the font size from Konqueror settings the web browser fonts change but the file manager fonts stay the same. Is there another way of setting them?

View 4 Replies View Related

Slackware :: .pcf Font Rendering In GTK2?

Feb 25, 2010

I've installed some custom programming fonts, namely Speedy.pcf. Its a .pcf, so I just coped it into /usr/share/fonts/misc, and ran mkfontscale, mkfontdir. I can use the font fine in 'xfontsel' and 'urxvt', but when GTK2 tries to render this font. its not even the same font, its just using some default font.

View 3 Replies View Related

Debian Multimedia :: Wrong Font And Icons With QtCurve On GTK2?

Nov 20, 2015

I'm using Debian Testing (Stretch, right now), and for a little while, a couple of months or so, QtCurve wasn't working properly (and lately, not at all) on GTK2.

After quite a lot of frustrated attempts, I think i fixed it in a way that's probably not recommended at all. I copied the file libqtcurve.so from Wheezy's version of gtk2-engines-qtcurve, and used it instead. It "just worked".

So, experiencing problems with QtCurve on GTK (most noticeably, being unable to set fonts and icon themes for GTK2 apps), or was it just an oddity of my install? My installs are often not all that standard, so I'm never sure. I'm asking because I have to figure out lots of things if I'm to make a bug report, and the bug may not even really exist . I think I'll even check before if the Testing package from another server works, maybe that's the problem.

I just found that this fix/version makes inkscape crash, would probably do the same to some other stuff -- newer versions (even with proper full package install) also have the same effect, except for that latest one, that doesn't seem to work in GTK2.

It's reported as a bug in Ubuntu. The "correct"/better fix seems to be commenting the font-related lines in /usr/share/themes/QtCurve/gtk-2.0/kdeglobals (Not to be confused with KDE's own file of the same name) on the newer package. That doesn't seem to make inkscape crash.

The same file also set the icon theme on GTK2 as Oxygen, commenting the icon line on the same file doesn't fix it, the correct theme apparently has to be spelled out, it seems it has to be for all users using any QtCurve theme, and GUI tools to change the icon theme won't work (but I haven't really tested the "native GTK" ones).

[URL] .....

View 0 Replies View Related

Programming :: Tell Printer (HP 1020) What Font And Size To Use

May 17, 2011

The last time I got involved with printers and fonts, printers had tractors and ribbons and the only codes in use were ascii and ebcdic. So even if I could remember it would be out of date. I've written a C program that writes a text file. I want to print it. I run it through expand and send it to lp, but it comes out in an undesirable primitive font.

Once upon a time, one sent a string of commands to the printer telling it what font to use and what size, etc. I dont think this is done anymore, and if it is I dont remember how to do it. I assume programs embed in their output instructions in some common format which tell this stuff to the printer - in my case a HP1020. I've been looking on the search engines but I haven't found the magic words to find what I want. how to get my output formatted. If it involves some escape sequences in the file, maybe a pointer to a description of which does what?

View 2 Replies View Related

Programming :: Editing Font Size In Evolution Xml File?

Mar 29, 2010

I am trying to increase the font size in the evolution xml file to make the sub-menu easier to read (the menu with new, send/receive, reply, reply to all, forward) I found where the xml file is located but i can not seem to adjust the font. is there a different syntax for xml for changing font than html/css?

View 2 Replies View Related

Programming :: Determining Python Font Pixel Size?

Feb 17, 2010

I am trying to scroll text from a text file across a wx.panel. This is the code so far:

Code:
def scrolling(self, text, rate):
def scroll(): charList = []
dc = wx.ClientDC(self.panel_1)
open_text = open(text, "rb")
my_text = open_text.read()
charList.append(my_text) open_text.close()
x,y = self.panel_1.GetClientSizeTuple()
while 1: for z in charList: for r in range(2000):
dc.DrawText(z,x-r,0) time.sleep(rate) dc.Clear()
net3 = threading.Thread(target=scroll)
net3.setDaemon(1) net3.start()

It scrolls but I am guessing where the range is (2000). I need to be able to determine the total number of pixels that the text in the file is. Is there a python way to determine this?

View 1 Replies View Related

OpenSUSE :: Can't Change Font - Font Size FIrefox 3.6.8

Aug 16, 2010

I can't change fonts in Firefox preferences (Content).

My OS is openSUSE 11.3, KDE 4.4.4. release 8.

Any type and size of font I use, nothing happens. It's still same font which I choose for the first time I've started Firefox afer installing openSUSE 11.3.

View 4 Replies View Related

Programming :: C Program - Getting The Raw Size Of A Block Device

Oct 16, 2010

How do you go about getting the raw size of a block device under Linux from within a C program? And I mean the raw size of the block device itself, not a file system that may or may not be installed on it. And I'd like to be able to get the raw size of any block device, from hard drives (e.g., /dev/sda) to LVM partitions (/dev/mapper/vg0-home) to loop devices to anything else that is a Linux block device.

View 3 Replies View Related

Fedora :: How To Increase Console Font

Aug 19, 2011

I need a really large console font! I used ter-v32n.psf.gz but it is not large enough for what I need. Anyone know of anywhere which I can download a few of them.

View 3 Replies View Related

Debian :: Increase Image & Font Rendering Quality?

Mar 23, 2011

Below are example screenshots of Freemind from Ubuntu Lucid and Debian Squeeze

Lucid

Squeeze

You'll notice that there is slightly different quality, it is also applies to pdf documents.

and my question is.. how do i increase rendering quality in debian squeeze?

View 7 Replies View Related

Fedora :: How To Increase Size Of /dev/shm

Aug 8, 2011

I'm running FC 14 and the /dev/shm is no longer as big as it used to be (under an older FC). How can I increase the size of the /dev/shm? I tried the following

Code:
mount -o remount,size=6G /dev/shm

Which seemed to work, but then the system hung when I tried to use the extra space and I had to reboot. What's the correct way to increase the size of the /dev/shm partition?

View 3 Replies View Related

Ubuntu :: Increase In ISO Size?

Jul 3, 2010

When I downloaded the ISO file thru DAP it showed up as 699.44MB but when I completed the download onto my HDD (XP SP3 & NTFS) it shows up as 716,230KB (see below) with a result when I try to burn on to a CD. I get an error that the file is too large. Whats happening, is there a solution to this?

View 9 Replies View Related

General :: Increase Dev/sdb Size - LVM

May 21, 2011

I am working on my vmware workstation.

I have a /dev/sdb which is 5GB. I am using LVM.

Now I increase /dev/sdb 2 more GB.

fdisk -l shows 7 GB but pvscan still shows 5GB.

how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and extend my volume group and logical volumen

View 1 Replies View Related

OpenSUSE :: Increase Virtualbox VM Size?

Jul 27, 2010

I have a few VMs set up with virtualbox but am finding that I'm now running out of space in some of the VMs. I really don't fancy creating new VMs and reinstalling and configuring them so is there an easy way to increase the size of the virtual disks?

View 9 Replies View Related

Ubuntu :: Can't Increase Partition Size

Oct 11, 2010

I have 4 primary partitions on my hard drive. One of these partitions has been divided into 3 logical partitions with some free space left over. The order is this: "swap", "/", "/home", and about 80GB of unallocated space. I want to incorporate that unallocated space into the home partition. I tried this by booting a live CD and starting GParted but it didn't give me the option to increase the size of my home partition or the primary partition as a whole. The only thing it would let me do is decrease the size of my home partition.

View 2 Replies View Related

Ubuntu :: Increase The Size Of Desktop?

Apr 8, 2011

Default Ubuntu drivers work fine, but wanted to take advantage of what the new drivers had to offer.

Using Ubuntu 10.10.

Installed latest catalyst drivers vers 11.3 My board has a inbuilt ATI Radeon HD 4250

i installed originally via admin -> additional drivers, but my desktop has shrunk about an inch around the edges (splash screen also changed)

I'm using a Panasonic Plasma Screen (XBMC HTPC) vis HDMI.

Catalyst mentions the Panasonic in Display Manager, but also mentions a Projector (1), which is also the Panasonic TV .

Resolution is set ate 1920 x 1080 and refresh 50 Hz.

I then reinstalled the ATI drivers as per [URL] , but no change (and lost screen coming out of XBMC).

I also installed the splash page fix here [URL] so now at least it looks pretty.

fglrxinfo gives me

Code:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4250
OpenGL version string: 3.3.10600 Compatibility Profile Context

how I can increase the size of my desktop?

View 1 Replies View Related

Ubuntu :: Increase Filesystem Size In 10.4?

Aug 10, 2010

I have installed Ubuntu from Inside-Windows using Wubi, is it possible? I noticed I already only have 11 gigs left.

View 2 Replies View Related

General :: Increase A File Size?

Nov 30, 2010

i have this directory with multiple images 'pics' and the size is 20mb, and i want to make a .zip or .rar package of this directory but with an increased size so the .zip/.rar file will be 100mb, and then when you extract it the file size is the original 20mb

View 10 Replies View Related

General :: Increase Size Of '/' In Ubuntu?

Feb 12, 2011

Finally i have installed ubuntu 10.10 on my home PC. Its working so so good i cant really imagine :-). At the time of partition due to my immaturity, i selected the size of '/' to be 10 Gb. Now i want to increase it without reinstalling ubuntu. Is there any safe way of doing it ? i did some research and came to know that Gparted might be of some help, but i will really be grateful if any of you can guide me.

the use of livecd for example, can i use liveusb instead ? i was thinking of making liveusb of centos 5.5.

Currently i have 3 partitions

'/' 10 GB
'/boot' 99 MB
'Date' 50 GB

on rest, its my windows xp.

View 2 Replies View Related

Server :: Possible To Increase The Size Of The / Partition?

Dec 14, 2009

Is it possible to increase the size of the / partition?

View 5 Replies View Related

CentOS 5 :: Increase The Size Of The /tmp Directory ?

Nov 10, 2009

We have a problem where there is not enough space in our /tmp partition. We are trying for fix our mysql database, and keep running in to the space issue... the error we are getting says:

myisamchk: Disk is full writing '/tmp/STGL3SGd' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)

Our /tmp partition is current set at 485M, but it is not large enough to handle the database fix...

Does anyone know of a work around - perhaps to assign different directory for the temp files?

View 3 Replies View Related

CentOS 5 :: Can't Increase Swap Size

Nov 24, 2009

I am trying to increase my swap size because it seems to be getting full and making my server lock up.

I've tried this: [URL]

But all I get is this:

# lvm lvresize /dev/VolGroup00/LogVol01 -L +8000mb
Extending logical volume LogVol01 to 9.75 GB
Insufficient free space: 250 extents needed, but only 0 available
vgdisplay gives me:

[Code]....

View 7 Replies View Related

CentOS 5 :: Increase Volume Size?

Jun 26, 2011

I have centos 5 virtual server running on ESXi (vsphere 4.1).i have to increase disk space. I increased the size of the virtual machine in Vcenter.But i allready have 4 primary partitions. when i run fdisk /dev/sda, i get this :

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 3916 31350847+ 8e Linux LVM
/dev/sda3 3917 6527 20972857+ 83 Linux
/dev/sda4 6528 13054 52428127+ 83 Linux

View 1 Replies View Related







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