Urxvt - use different fonts for different instances of urxvt

Hello. I use mcabber for IM which is a ncurses program. From what I understand, it is not possible to set font size for a ncurses program. Also urxvt uses .Xresources for configuration which sets the same font for every instance of urxvt.
So I want to ask if it is possible to write a script to start urxvt with a different configuration file and then start mcabber in it.
I understand that I can write a script to change font size in .Xresources and then use xrdb to merge the changes, but I do not understand how I can make that change local for only that instance of urxvt.
Thanks

Form man urxvt;
-fn fontlist
Select the fonts to be used. This is a comma separated list of font names that are checked in order when trying to find glyphs for characters. The first font defines the cell size for characters; other fonts might be smaller, but not (in general) larger. A (hopefully) reasonable default font list is always appended to it. See resource font for more details.
In short, to specify an X11 core font, just specify its name or prefix it with "x:". To specify an XFT-font, you need to prefix it with "xft:", e.g.:
urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15"
urxvt -fn "9x15bold,xft:Bitstream Vera Sans Mono"
I use it all the time.

Similar Messages

  • Using system fonts for commercial printing?

    Hi,
    Does anyone know the licensing rights/usage for using system fonts for commercial printing? If I understand correctly, system fonts that comes from operating system CAN be use because Apple purchase the rights on them and end users that purchase OS can use these fonts freely as long as not we are not redistributing them for profit, etc.
    Can anyone point me in the right direction with official documentation on the subject?
    Thanks!

    Never mind, I found the answer. It's in Apple's OS EULA.
    "E. Fonts. Subject to the terms and conditions of this License, you may use the fonts included
    with the Apple Software to display and print content while running the Apple Software; however,
    you may only embed fonts in content if that is permitted by the embedding restrictions
    accompanying the font in question. These embedding restrictions can be found in the Font
    Book/Preview/Show Font Info panel."

  • Select using different instances

    I hope this is not off topic here:
    How do I access different tables in different instances? I found anything in documentation.

    Did u create DB link???
    after creating dblinks it should be ok....
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Frank([email protected]):
    I hope this is not off topic here:
    How do I access different tables in different instances? I found anything in documentation.<HR></BLOCKQUOTE>
    null

  • Is it legal to use iWork fonts for business?

    Hey,
    am I allowed to use the fonts in iWork for a business? I am going to found a new company so I have to design a logo, brochures,...!
    I do not want to get sued by Apple for using their fonts illegaly
    Thanks:)
    Timon
    BTW: I am form Germany so my English is not perfect!

    Most of the fonts installed in the operating system aren't Pages components.
    So it's not only the Pages  license but the system one which must be studied.
    The PDF whose subsets are posted above contain the terms of use in these languages :
    Yvan KOENIG (VALLAURIS, France) lundi 13 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Using device fonts for printing

    Hello,
    I was wondering how to use device fonts in Java. These are the fonts that are in the printer and not in the operating system.
    I'm writing some point of sale software that needs to use the Star TSP100 printer on Windows 7 64.
    I need to use the device font "control" in order to instruct the printer to open the cash drawer.
    I would also like to use the device font "3of9" for barcodes. I know there are alternatives to using this, but directly from the printer would be easier than trying to purchase and deploy a barcode font.
    I know that star micronics has a JPOS implementation, but not for windows 7 64. And the JPOS with the StarMicronics bin is cumbersome and unstable for the end user even in Windows XP 32 bit.
    If I specify the font "control" java replaces it with the default font. i.e. Font deviceFont = new Font ("control", Font.PLAIN, 8.5); is just the default font and not "control"

    I did find a solution to my problem, but I cannot use device fonts. You may also find this useful to address your issue. I opened the a print service and sent ASCII to it instead of creating and printing a graphic object. You'll need the [Command Emulator STAR Line Mode Command Specifications|http://www.star-micronics.co.jp/eng/service/usermanual/comemu_starline_pm.pdf] to know what the commands are for the TSP100 and TSP700. I've included a cheat sheet to find the HEX value of the ASCII command. Note that if you need to send several characters you'll need to use the space with it.
    e.g. The command to select font is ESC RS F you'll need to send: 1B201E2046
    My Chizzle:
    package recptpkg;
    import javax.print.PrintService;
    import java.awt.print.PrinterJob;
    import javax.print.DocPrintJob;
    import javax.print.Doc;
    import javax.print.DocFlavor;
    import javax.print.SimpleDoc;
    public class openCashDrawer {
        boolean showStatus;  // false if error
        public openCashDrawer() {
            showStatus = false;
            PrinterJob printerJob;
            PrintService psTSP100 = null;
            PrintService[] ps = PrinterJob.lookupPrintServices();
            for (int i = 0; i < ps.length; i++) {
                if (ps.getName().indexOf("Star TSP100 Cutter (TSP143)") >= 0) {
    psTSP100 = ps[i];
    if (psTSP100 == null) {
    System.out.println("Aw SNAP! I like, can't find a printer with "
    + "Star TSP100 Cutter (TSP143) in the name");
    showStatus = false;
    try {
    DocPrintJob job = psTSP100.createPrintJob();
    String openDrawer1Command = ((char) 0x07) + "";
    byte by[] = openDrawer1Command.getBytes();
    DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
    Doc doc = new SimpleDoc(by, flavor, null);
    job.print(doc, null);
    } catch (Exception e) {
    System.out.println("Whoa bro. The printer is balls. Check it:");
    e.printStackTrace();
    try {
    DocPrintJob job = psTSP100.createPrintJob();
    String openDrawer2Command = ((char) 0x1A) + "";
    byte by[] = openDrawer2Command.getBytes();
    DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
    Doc doc = new SimpleDoc(by, flavor, null);
    job.print(doc, null);
    showStatus = true;
    } catch (Exception e) {
    System.out.println("Whoa bro. The printer is balls. Check it:");
    e.printStackTrace();
    showStatus = false;
    public boolean getStatus() {
    return showStatus;
    //ASCII Cheat Sheet:
    /* 00 NUL | 01 SOH | 02 STX | 03 ETX | 04 EOT | 05 ENQ | 06 ACK | 07 BEL
    08 BS | 09 HT | 0A LF | 0B VT | 0C FF | 0D CR | 0E SO | 0F SI
    10 DLE | 11 DC1 | 12 DC2 | 13 DC3 | 14 DC4 | 15 NAK | 16 SYN | 17 ETB
    18 CAN | 19 EM | 1A SUB | 1B ESC | 1C FS | 1D GS | 1E RS | 1F US
    20 SP | 21 ! | 22 " | 23 # | 24 $ | 25 % | 26 & | 27 '
    28 ( | 29 ) | 2A * | 2B + | 2C , | 2D - | 2E . | 2F /
    30 0 | 31 1 | 32 2 | 33 3 | 34 4 | 35 5 | 36 6 | 37 7
    38 8 | 39 9 | 3A : | 3B ; | 3C < | 3D = | 3E > | 3F ?
    40 @ | 41 A | 42 B | 43 C | 44 D | 45 E | 46 F | 47 G
    48 H | 49 I | 4A J | 4B K | 4C L | 4D M | 4E N | 4F O
    50 P | 51 Q | 52 R | 53 S | 54 T | 55 U | 56 V | 57 W
    58 X | 59 Y | 5A Z | 5B [ | 5C   \ | 5D   ] | 5E ^ | 5F _
    60 ` | 61 a | 62 b | 63 c | 64 d | 65 e | 66 f | 67 g
    68 h | 69 i | 6A j | 6B k | 6C l | 6D m | 6E n | 6F o
    70 p | 71 q | 72 r | 73 s | 74 t | 75 u | 76 v | 77 w
    78 x | 79 y | 7A z | 7B { | 7C | | 7D } | 7E ~ | 7F DEL */
    {code}
    Edited by: StoneBrooks on Sep 10, 2010 11:24 AM

  • Make fontconfig use ghostscript fonts for PDFs

    I had a problem with Evince using my default sans-serif font (as set in .fonts.conf) in PDF files that ask for the standard Helvetica font.  Since the two fonts have different character widths, the text in the PDF files doesn't look right.  I fixed the problem by editing /etc/fonts/conf.avail/29-replace-bitmap-fonts.conf and adding the ghostscript fonts to the replacement table (Helvetica -> Nimbus Sans L, Times -> Nimbus Roman No9 L, Courier -> Nimbus Mono L).
    I noticed that the file already lists the Microsoft and Liberation equivalents as replacements (I have neither installed); is there some reason the ghostscript fonts aren't also listed there?

    http://www.box.net/shared/btpl0j2vo2
    As an example, here is a screenshot of a PDF that uses the Times font.  The left hand side is with the Nimbus fonts; the right hand side is with my default serif font.  Normally I like the font on the right better (hence, I have it set as the default), but it looks awful in a PDF that was intended to be rendered with a Times font, since some of glyphs are narrower (notably the capital A).

  • Using Larger Fonts For Simple Sign

    I am creating a sign.  Using Photoshop CS2 I was
    very surprised when I tried to create a large character
    of font size 1500.  Error message noted the maximum was
    something like 1296.
    I did not think there was a limit.
    How do people make huge signs with LARGE letters?
    (a beginner)
    Daniel :-)

    Say on a layer I was working with the letter A
    in font size 20.  How would I use scaling exactly?
    I guess I am a real beginner because I used FONT SIZE
    until I started trying to draft a sign 20" wide by 30" high.
    Thanks for this help.
    Daniel :-)

  • Is it legal to use Adobe fonts for a clothing design- that will be for purchase?

    My friend is having me take his drawings and turn them into graphics that he will use for his new start up clothing company. There are fonts I have found on the Creative Suite Type Kit I wouldn't mind using. But is that legal?

    Bianca Tessa,
    It is: you are free to use Fonts from Adobe for such purposes.

  • How can I use phonetic fonts for cursors name

    Hi all!
    I need to use phonetic characters in cursors names. Does somebody know wich font I have to use for this ?
    One other problem is that I need to use Vietnamese characters at the same time. Is it possible to change the font of the cursors names run-time (in the diagram)?
    Last quetion: Does LabVIEW support unicode? If yes,how can I use it?
    Thank you for your help!
    Nico

    > Effectively, dual-byte encodind is allright to support Vietnamese and
    > Western languages. But how did I get the phonetics characters? With
    > shortcut key ?
    > As I need the user to change the cursor name run-time without using
    > the frontpannel cursor legend, I'm using property node and a subVI
    > asking for this name. (The user will enter the name in a string
    > control).
    > Moreover I would like the user to have the possibility to choose a
    > character in a pannel (something similar to the menu 'insert symbol'
    > in MS Word). Is it possible to do this ? With Active X maybe, but I
    > don't know which activeX objet I can use....(I am not very familiar
    > with ActiveX).
    Unfortunately, I don't know what the phonetic characters look like, so I
    can't
    tell you what to type to enter them. If you find them in Word,
    you should be able to copy them to the clipboard, they will be in
    Unicode, and paste them into LV -- where they will be converted to dual
    byte. If it doesn't work, try to find out if they are exist in the
    locale of your machine, or more importantly, the target machine.
    If you can display them, you can build a simple ring with short strings
    containing the phonetic characters. When the user picks something from
    the ring, use the strings property and value to index out the string and
    replace/append to the string the user is editing. You will want to pay
    attention to the string's selection if this is supposed to act like a
    character palette and either do an insert or replace.
    If you want a more compact grid menu, you will need to convert the
    strings to images and paste them in a pict menu. That value can be used
    to index a constant array that matches the order in the pict ring.
    Greg McKaskle

  • Can I Use Spanish Fonts for iWeb?

    I want to write the word "Espanol" on my iWeb page but I don't know where to find the 'n' with the little thingee over it. I also would like to put a Spanish accent on some letters. Is this possible in iWeb. I am a native English speaker but I want to create a Spanish version of my site.

    I want to write the word "Espanol" on my iWeb page but I don't know where to find the 'n' with the little thingee over it. I also would like to put a Spanish accent on some letters. Is this possible in iWeb. I am a native English speaker but I want to create a Spanish version of my site.
    If you are using the US keyboard layout, the ñ is made via Option/alt +n, then n. Here is a list of shortcuts for the other letters you need:
    http://homepage.mac.com/thgewecke/diacritics.html

  • Spark TextInput -  use different fonts

    Is it possible to use two fonts for a text entered into TextInput?
    For example, 12345678 ?
    Thanks

    Form man urxvt;
    -fn fontlist
    Select the fonts to be used. This is a comma separated list of font names that are checked in order when trying to find glyphs for characters. The first font defines the cell size for characters; other fonts might be smaller, but not (in general) larger. A (hopefully) reasonable default font list is always appended to it. See resource font for more details.
    In short, to specify an X11 core font, just specify its name or prefix it with "x:". To specify an XFT-font, you need to prefix it with "xft:", e.g.:
    urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15"
    urxvt -fn "9x15bold,xft:Bitstream Vera Sans Mono"
    I use it all the time.

  • Dashboard is now using Fonts for Safari

    Ever since I created a snippet of a Web Page in Dashboard I have had Overlapping Fonts in some of my Widgets. I could not understand why until I found another user had the same problem after creating a snippet of a web page in Dashboard. Apparently Dashboard is using the Fonts for the Safari. Can Anyone help me with this problem?As it is now I can't read some of the material in some of the Widgets as the Fonts are large and overlapping each other.

    I solved this myself by deleting the dashboard preferences!

  • If I use a web font in my website can I use the same font for printed materials such as business car

    I am a graphic designer intending to design a portfolio website in Adobe Muse. I plan to use TypeKit web fonts to design my website. Upon completioin of the website I intend to design business cards and my resume to match the look of my website. I would like to use the same fonts as I used on the website. Is it possible to use web fonts for printing purposes? If not, what do people typically do in this situation. The last thing I want to do is use a font that "looks" like the ones used on my website.

    Hi redsoxfan15b,
    (I think I may have replied to your Typekit Support ticket earlier today, but I will post the same information here to be certain.)
    We have recently added a new feature to Typekit that allows you to sync fonts to your desktop and use them in print design. The announcement on our website has more information:
    http://blog.typekit.com/2014/01/16/the-fonts-you-love-from-typekit-now-on-your-desktop/
    Font sync is available on any Typekit Portfolio, Performance, or Business plan.  Here is a list of all the font available for desktop use:
    https://typekit.com/fonts?licenses=desktop
    We are continuing to license more of the library for desktop use, but for now you should confirm that the font you would like to use it available for both web and desktop.  And if there is a font you'd like to use that isn't available for desktop sync, you may also be able to purchase a license directly from the foundry.
    I hope that this helps; let me know if you have any other questions!  Best,
    -- liz

  • Intalling Rupee fordian font for use in SAP.

    Dear Experts,
    Greetings of the day.
    We have installed the Rupee Fordian font in fonts folder on all clients and SAP server.
    How do i install the font so that i can use the same font instead of the INR in SAP System settings.
    wish to use this font for all the PLD's that are being created.
    thanks and regards.
    Vijay M. Patil.

    Hi Vijay ,
    Have you started transactions in the system ?
    If not then you can do it !
    Step 1 : Goto General Setting : Choose Font as "Rupee Forbidden"
    Step 2 : Goto Currency : Define a New Currency ( Using ~ Sign ).
    Step 3 : Goto Company Details : Define Local Currency as Rupee New Sign.
    step 4 : Change the Default Currency of BP to New Rupee Sign.
    Step 5 : In the PLD's , Goto Edit PLD --> Print Layout Designer --> Display document Properties
                 --> Format Tab : Choose Font as "Rupee Forbidden"
    Thanks
    Ashish Ranjan

  • How to use MICR fonts in Adobe forms (webdynpro java

    Hi,
          We have a requirement where we need to print some MICR codes (for checks) through Adobe Forms.
    I have installed some true type MICR fonts in windows and Adobe Font Manager (in ADS) as well.
    It is visible in the Adobe Form design time (Font palette) and when I use the font for text, it is visible in preview too. But when I run the web dynpro application, in the online form it is converted into Standard font (Times new Roman).
    Is there anyway to handle this issue.
    Please let me know.
    I am using NWDS 7.0.1
    Adobe Live cycle designer 7.1
    SAP NW 2004s SP14
    Thank you,
    Vasu

    Check this forum post (though that is for 6i, it would be of helpful for you)
    How to use unicode fonts in Oracle forms 10g?
    -Arun

Maybe you are looking for

  • Automatic Attachment of Design documnets in Purchase Orders

    Hi , I have created the design documents with the t-code : CV01N and i have attached to material master . Now when i crete the PUrchase Order the design document attached to the material should be copied to the Purchase order item automatically ....

  • Get combo box display name

    HI, I have <h:selectOneMenu on my application is there a way to get the display name out of the combo box I can get the value OK. thanks

  • Display blocked document SPL - unable to to SPL check

    Dear friends, I have a blocked sales document in "Display Blocked Documents" in SPL area. I can search on the reference number and i got one record. I selected that and try to "Start SPL screening". It says "Unable to select any data (see long text)"

  • Iterator returns no records in managed bean

    Yes, its time to talk about the old SelectManyShuttle again! Well I've tried my hand at revising some blog code for the managed bean this time in order to populate and control the shuttle. But the binding is giving me the blues. Here's the code. It's

  • Skype error: DISK FULL on macbook pro when signing in.

    Hey guys,  I've tried googling it but i'm only finding solutions for windows and none for macbook. When i try signing in to skype for mac, it displays the error 'Disk full'. My hard drive has plenty of space and it allows me to sign in with other acc