Re: font size in applications are huge in my VM instance

2010-12-20 Thread Bryan
On Mon, Dec 20, 2010 at 08:51, Bryan bra...@gmail.com wrote:

Thanks to the offline answers.  I assume that the differences in
resolution and dpi are causing the font issues.

Someone told me to set the following in my .Xdefaults:

Xft.dpi:72

This fixed Kword, firefox, openoffice, inkscape, gimp.


Now that I know what to search for exactly, here are a few links that I found:

http://ubuntuforums.org/showthread.php?t=4456
http://ubuntuforums.org/showthread.php?t=20976
http://avi.alkalay.net/linux/docs/font-howto/Font.html

Some of it is Linux centric, but lots of good info there...



Re: font size in applications are huge in my VM instance

2010-12-19 Thread patrick keshishian
On Fri, Dec 17, 2010 at 7:40 AM, Ted Unangst ted.unan...@gmail.com wrote:
 On Fri, Dec 17, 2010 at 9:55 AM, Bryan bra...@gmail.com wrote:
 I use my OpenBSD at work on a VMware instance.  I have tried this in
 my default WM (scrotwm), and also in fluxbox.  When I launch an
 application, like Gimp, or Firefox in my VM instance, the fonts in the
 dialog boxes, menus, and toolbars are large, like someone did a
 'Ctrl+' in firefox to increase the font. The resolution on the
 instance is 1280x1024, because xrandr won't emulate a 1680x1050
 screen.

 Font sizes are based on your DPI settings, which are guessed by the X
 server.  There are ways to specify better values, though I'm not sure
 how since I've never done it.  The intertubes may know more.

I have the following in my ~/.Xdefaults file:

$ grep dpi ~/.Xdefaults
Xft.dpi:72

HTH,
--patrick



Re: font size in applications are huge in my VM instance

2010-12-17 Thread Gonzalo L. R.

maybe you need something like this:

~ $ cat .gtkrc-2.0
gtk-font-name = Sans 8

in your home.

El 12/17/10 11:55, Bryan escribiC3:

Greetings,

I use my OpenBSD at work on a VMware instance.  I have tried this in
my default WM (scrotwm), and also in fluxbox.  When I launch an
application, like Gimp, or Firefox in my VM instance, the fonts in the
dialog boxes, menus, and toolbars are large, like someone did a
'Ctrl+' in firefox to increase the font. The resolution on the
instance is 1280x1024, because xrandr won't emulate a 1680x1050
screen.

I have a screenshot here:

http://picasaweb.google.com/lh/photo/DRmfBOWqCpl64VFjc_5kwPpTm2ZJIAmfG4KTNOagEkk?feat=directlink


vmt0 appears to work well, as does 'vmwh' from ports...


OpenBSD 4.8-current (GENERIC.MP) #16: Fri Dec 10 12:31:59 CST 2010
 
r...@openbsd-amd64-v0.ultra-ats.com:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1236205568 (1178MB)
avail mem = 1189343232 (1134MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe4010 (45 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 08/15/2008
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP BOOT APIC MCFG SRAT
acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3)
S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3)
Z00P(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3)
Z00W(S3) Z00X(S3
) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3)
Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3)
P2P1(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3)
S7F0(S3) S8F0(S3)
S9F0(S3) Z00P(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3)
Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3)
Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3)
Z019(S3) Z01A(S3) Z0
1B(S3) P2P2(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3)
S7F0(S3) S8F0(S3) S9F0(S3) Z00P(S3) Z00Q(S3) Z00R(S3) Z00S(S3)
Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3)
Z010(S3) Z011
(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3)
Z019(S3) Z01A(S3) Z01B(S3) P2P3(S3) S1F0(S3) S2F0(S3) S3F0(S3)
S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00P(S3)
Z00Q(S3) Z00R(S
3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3)
Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3)
Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) PE40(S3)
S1F0(S3) PE50(S3)
  S1F0(S3) PE60(S3) S1F0(S3) PE70(S3) S1F0(S3) PE80(S3) S1F0(S3)
PE90(S3) S1F0(S3) PEA0(S3) S1F0(S3) PEB0(S3) S1F0(S3) PEC0(S3)
S1F0(S3) PED0(S3) S1F0(S3) PEE0(S3) S1F0(S3) PE41(S3) S1F0(S3)
PE42(S3) S1F0(S3) P
E43(S3) S1F0(S3) PE44(S3) S1F0(S3) PE45(S3) S1F0(S3) PE46(S3) S1F0(S3)
PE47(S3) S1F0(S3) PE51(S3) S1F0(S3) PE52(S3) S1F0(S3) PE53(S3)
S1F0(S3) PE54(S3) S1F0(S3) PE55(S3) S1F0(S3) PE56(S3) S1F0(S3)
PE57(S3) S1F
0(S3) PE61(S3) S1F0(S3) PE62(S3) S1F0(S3) PE63(S3) S1F0(S3) PE64(S3)
S1F0(S3) PE65(S3) S1F0(S3) PE66(S3) S1F0(S3) PE67(S3) S1F0(S3)
PE71(S3) S1F0(S3) PE72(S3) S1F0(S3) PE73(S3) S1F0(S3) PE74(S3)
S1F0(S3) PE75(
S3) S1F0(S3) PE76(S3) S1F0(S3) PE77(S3) S1F0(S3) PE81(S3) S1F0(S3)
PE82(S3) S1F0(S3) PE83(S3) S1F0(S3) PE84(S3) S1F0(S3) PE85(S3)
S1F0(S3) PE86(S3) S1F0(S3) PE87(S3) S1F0(S3) PE91(S3) S1F0(S3)
PE92(S3) S1F0(S3
) PE93(S3) S1F0(S3) PE94(S3) S1F0(S3) PE95(S3) S1F0(S3) PE96(S3)
S1F0(S3) PE97(S3) S1F0(S3) PEA1(S3) S1F0(S3) PEA2(S3) S1F0(S3)
PEA3(S3) S1F0(S3) PEA4(S3) S1F0(S3) PEA5(S3) S1F0(S3) PEA6(S3)
S1F0(S3) PEA7(S3)
S1F0(S3) PEB1(S3) S1F0(S3) PEB2(S3) S1F0(S3) PEB3(S3) S1F0(S3)
PEB4(S3) S1F0(S3) PEB5(S3) S1F0(S3) PEB6(S3) S1F0(S3) PEB7(S3)
S1F0(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz, 2667.24 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,SSSE3,CX16,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 65MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz, 2666.86 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,SSSE3,CX16,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
vmt0 at mainbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured 

Re: font size in applications are huge in my VM instance

2010-12-17 Thread Ted Unangst
On Fri, Dec 17, 2010 at 9:55 AM, Bryan bra...@gmail.com wrote:
 I use my OpenBSD at work on a VMware instance.  I have tried this in
 my default WM (scrotwm), and also in fluxbox.  When I launch an
 application, like Gimp, or Firefox in my VM instance, the fonts in the
 dialog boxes, menus, and toolbars are large, like someone did a
 'Ctrl+' in firefox to increase the font. The resolution on the
 instance is 1280x1024, because xrandr won't emulate a 1680x1050
 screen.

Font sizes are based on your DPI settings, which are guessed by the X
server.  There are ways to specify better values, though I'm not sure
how since I've never done it.  The intertubes may know more.



Re: font size in applications are huge in my VM instance

2010-12-17 Thread Bryan
On Fri, Dec 17, 2010 at 09:40, Ted Unangst ted.unan...@gmail.com wrote:
 On Fri, Dec 17, 2010 at 9:55 AM, Bryan bra...@gmail.com wrote:
 I use my OpenBSD at work on a VMware instance. B I have tried this in
 my default WM (scrotwm), and also in fluxbox. B When I launch an
 application, like Gimp, or Firefox in my VM instance, the fonts in the
 dialog boxes, menus, and toolbars are large, like someone did a
 'Ctrl+' in firefox to increase the font. The resolution on the
 instance is 1280x1024, because xrandr won't emulate a 1680x1050
 screen.

 Font sizes are based on your DPI settings, which are guessed by the X
 server. B There are ways to specify better values, though I'm not sure
 how since I've never done it. B The intertubes may know more.


That gets me a step closer... I didn't know how to search for fonts
sizes are huge in certain X applications...


hmmm looks like xrandr has a switch for --dpi.  I will mess around
with that...


Thanks all...



Re: font size in applications are huge in my VM instance

2010-12-17 Thread Bryan
On Fri, Dec 17, 2010 at 09:40, Gonzalo L. R. gonz...@x61.com.ar wrote:
 maybe you need something like this:

 ~ $ cat .gtkrc-2.0
 gtk-font-name = Sans 8

 in your home.


That worked for things like firefox, inkscape, and gimp, is there a
kde version?  Koffice is still huge...



Re: font size in applications are huge in my VM instance

2010-12-17 Thread Gonzalo L. R.

gtk != qt I don't use qt :/ sorry

El 12/17/10 13:04, Bryan escribiC3:

On Fri, Dec 17, 2010 at 09:40, Gonzalo L. R.gonz...@x61.com.ar  wrote:

maybe you need something like this:

~ $ cat .gtkrc-2.0
gtk-font-name = Sans 8

in your home.



That worked for things like firefox, inkscape, and gimp, is there a
kde version?  Koffice is still huge...


--
Sending from my Computer.