[solved] urxvt terminal: Bitmap fonts not working

Hello
I can't get bitmap fonts to work with urxtv (aka rxvt-unicode).
Here's output of fc-list : file -command
$ fc-list : file
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected
/usr/share/fonts/TTF/DejaVuSerif-BoldItalic.ttf:
/usr/share/fonts/Type1/a010015l.pfb:
/usr/share/fonts/TTF/comic.ttf:
/usr/share/fonts/Type1/n019043l.pfb:
/usr/share/fonts/TTF/DejaVuSans-ExtraLight.ttf:
/usr/share/fonts/Type1/n019044l.pfb:
/usr/share/fonts/TTF/DroidSansArmenian.ttf:
/usr/share/fonts/TTF/times.ttf:
/usr/share/fonts/TTF/DroidSansEthiopic-Regular.ttf:
/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf:
/usr/share/fonts/Type1/n022003l.pfb:
/usr/share/fonts/Type1/n022004l.pfb:
/usr/share/fonts/TTF/arial.ttf:
/usr/share/fonts/TTF/DroidSansHebrew-Regular.ttf:
/usr/share/fonts/Type1/n021023l.pfb:
/usr/share/fonts/Type1/n021024l.pfb:
/usr/share/fonts/TTF/ariblk.ttf:
/usr/share/fonts/Type1/n019023l.pfb:
/usr/share/fonts/TTF/DroidSansFallbackLegacy.ttf:
/usr/share/fonts/Type1/n022023l.pfb:
/usr/share/fonts/TTF/verdana.ttf:
/usr/share/fonts/Type1/n022024l.pfb:
/usr/share/fonts/Type1/n019024l.pfb:
/usr/share/fonts/TTF/TerminusBold.ttf:
/usr/share/fonts/cantarell/Cantarell-Bold.otf:
/usr/share/fonts/TTF/DejaVuSansCondensed.ttf:
/usr/share/fonts/TTF/timesi.ttf:
/usr/share/fonts/TTF/DroidKufi-Bold.ttf:
/usr/share/fonts/TTF/VeraMoBI.ttf:
/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf:
/usr/share/fonts/TTF/DroidKufi-Regular.ttf:
/usr/share/fonts/Type1/n021003l.pfb:
/usr/share/fonts/Type1/n021004l.pfb:
/usr/share/fonts/TTF/andalemo.ttf:
/usr/share/fonts/TTF/DroidSansHebrew-Bold.ttf:
/usr/share/fonts/TTF/Ubuntu-B.ttf:
/usr/share/fonts/TTF/Ubuntu-R.ttf:
/usr/share/fonts/Type1/n019003l.pfb:
/usr/share/fonts/TTF/Ubuntu-C.ttf:
/usr/share/fonts/TTF/VeraMoBd.ttf:
/usr/share/fonts/TTF/TerminusMediumItalic.ttf:
/usr/share/fonts/TTF/DejaVuSerifCondensed-BoldItalic.ttf:
/usr/share/fonts/TTF/DejaVuSerif-Italic.ttf:
/usr/share/fonts/Type1/n019004l.pfb:
/usr/share/fonts/TTF/VeraMoIt.ttf:
/usr/share/fonts/TTF/DejaVuSansMono.ttf:
/usr/share/fonts/TTF/DroidSansGeorgian.ttf:
/usr/share/fonts/TTF/DroidSansEthiopic-Bold.ttf:
/usr/share/fonts/TTF/Ubuntu-L.ttf:
/usr/share/fonts/TTF/DroidSansJapanese.ttf:
/usr/share/fonts/TTF/TerminusMedium.ttf:
/usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf:
/usr/share/fonts/TTF/VeraMono.ttf:
/usr/share/fonts/TTF/DejaVuSansCondensed-Oblique.ttf:
/usr/share/fonts/TTF/DroidNaskh-Regular.ttf:
/usr/share/fonts/TTF/DejaVuSans.ttf:
/usr/share/fonts/TTF/cour.ttf:
/usr/share/fonts/TTF/georgia.ttf:
/usr/share/fonts/TTF/DejaVuSansCondensed-Bold.ttf:
/usr/share/fonts/TTF/VeraSe.ttf:
/usr/share/fonts/TTF/UbuntuMono-BI.ttf:
/usr/share/fonts/TTF/DroidSerif-BoldItalic.ttf:
/usr/share/fonts/Type1/c059036l.pfb:
/usr/share/fonts/TTF/VeraSeBd.ttf:
/usr/share/fonts/TTF/DroidSans-Bold.ttf:
/usr/share/fonts/Type1/c059033l.pfb:
/usr/share/fonts/TTF/Ubuntu-RI.ttf:
/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf:
/usr/share/fonts/cantarell/Cantarell-Regular.otf:
/usr/share/fonts/TTF/VeraBI.ttf:
/usr/share/fonts/TTF/DroidSansTamil-Regular.ttf:
/usr/share/fonts/TTF/VeraIt.ttf:
/usr/share/fonts/TTF/DroidSerif-Regular.ttf:
/usr/share/fonts/TTF/DroidNaskh-Regular-SystemUI.ttf:
/usr/share/fonts/Type1/d050000l.pfb:
/usr/share/fonts/TTF/VeraBd.ttf:
/usr/share/fonts/TTF/DroidSans.ttf:
/usr/share/fonts/TTF/UbuntuMono-RI.ttf:
/usr/share/fonts/Type1/c059016l.pfb:
/usr/share/fonts/Type1/s050000l.pfb:
/usr/share/fonts/TTF/verdanai.ttf:
/usr/share/fonts/TTF/verdanaz.ttf:
/usr/share/fonts/Type1/c059013l.pfb:
/usr/share/fonts/TTF/Ubuntu-BI.ttf:
/usr/share/fonts/TTF/verdanab.ttf:
/usr/share/fonts/TTF/trebucit.ttf:
/usr/share/fonts/TTF/DejaVuSerifCondensed-Italic.ttf:
/usr/share/fonts/TTF/Ubuntu-LI.ttf:
/usr/share/fonts/TTF/DejaVuSans-Bold.ttf:
/usr/share/fonts/TTF/DejaVuSerif.ttf:
/usr/share/fonts/TTF/georgiai.ttf:
/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf:
/usr/share/fonts/TTF/DroidSansThai.ttf:
/usr/share/fonts/TTF/trebucbd.ttf:
/usr/share/fonts/TTF/DejaVuSerifCondensed.ttf:
/usr/share/fonts/TTF/couri.ttf:
/usr/share/fonts/TTF/georgiab.ttf:
/usr/share/fonts/Type1/b018032l.pfb:
/usr/share/fonts/TTF/DroidNaskh-Bold.ttf:
/usr/share/fonts/TTF/georgiaz.ttf:
/usr/share/fonts/TTF/timesbi.ttf:
/usr/share/fonts/TTF/arialbd.ttf:
/usr/share/fonts/Type1/b018035l.pfb:
/usr/share/fonts/TTF/UbuntuMono-B.ttf:
/usr/share/fonts/TTF/trebucbi.ttf:
/usr/share/fonts/TTF/UbuntuMono-R.ttf:
/usr/share/fonts/TTF/arialbi.ttf:
/usr/share/fonts/TTF/DroidSansArabic.ttf:
/usr/share/fonts/TTF/timesbd.ttf:
/usr/share/fonts/TTF/DroidSerif-Bold.ttf:
/usr/share/fonts/TTF/DroidSansDevanagari-Regular.ttf:
/usr/share/fonts/TTF/DejaVuSansCondensed-BoldOblique.ttf:
/usr/share/fonts/Type1/z003034l.pfb:
/usr/share/fonts/TTF/DroidSansFallback.ttf:
/usr/share/fonts/TTF/courbi.ttf:
/usr/share/fonts/TTF/comicbd.ttf:
/usr/share/fonts/Type1/b018012l.pfb:
/usr/share/fonts/Type1/p052004l.pfb:
/usr/share/fonts/TTF/DroidSerif-Italic.ttf:
/usr/share/fonts/TTF/webdings.ttf:
/usr/share/fonts/Type1/b018015l.pfb:
/usr/share/fonts/Type1/a010033l.pfb:
/usr/share/fonts/TTF/DroidSansTamil-Bold.ttf:
/usr/share/fonts/Type1/p052003l.pfb:
/usr/share/fonts/Type1/a010035l.pfb:
/usr/share/fonts/TTF/DejaVuSerifCondensed-Bold.ttf:
/usr/share/fonts/Type1/n019063l.pfb:
/usr/share/fonts/TTF/trebuc.ttf:
/usr/share/fonts/TTF/courbd.ttf:
/usr/share/fonts/Type1/n019064l.pfb:
/usr/share/fonts/TTF/Vera.ttf:
/usr/share/fonts/TTF/DroidSansMono.ttf:
/usr/share/fonts/Type1/p052024l.pfb:
/usr/share/fonts/TTF/impact.ttf:
/usr/share/fonts/TTF/ariali.ttf:
/usr/share/fonts/TTF/DejaVuSans-Oblique.ttf:
/usr/share/fonts/Type1/a010013l.pfb:
/usr/share/fonts/TTF/DroidSansFallbackFull.ttf:
/usr/share/fonts/Type1/p052023l.pfb:
What I've read, there should be /usr/share/fonts/local/* too in that list.
I run my window manager, dwm with startx and ~/.xinitrc has these lines before dwm:
xset +fp /usr/share/fonts/local
xset fp rehash
I have also tried to include those with xorg.conf:
$ cat /etc/X11/xorg.conf
Section "Files"
FontPath "/usr/share/fonts/local/"
EndSection
I'm using Ubuntu's patched versions of freetype, fontconfig and cairo if that has anything to do with my problem:
freetype2-ubuntu fontconfig-ubuntu cairo-ubuntu
Xft fonts work fine with urxvt, but bitmaps don't. What am I missing?
Last edited by NAND (2013-01-29 16:13:00)

There isn't a "tamsynu" family in the tamsyn-font package.  You're trying to use a font that doesn't exist on your machine.
$ xlsfonts -fn "-*-tamsynu-*"
xlsfonts: pattern "-*-tamsynu-*" unmatched
$ xlsfonts -fn "-*-tamsyn-*"
-misc-tamsyn-bold-r-normal--0-0-100-100-c-0-iso8859-1
-misc-tamsyn-bold-r-normal--12-87-100-100-c-60-iso8859-1
<< And more >>
The syntax for the resource is fine, but it is case-sensitive.  The class is 'URxvt', an instance would be 'urxvt'.
This should be good for a first attempt at the proper size:
urxvt.font: -misc-tamsyn-medium-r-normal--14-101-100-100-c-70-iso8859-1
urxvt.boldFont: -misc-tamsyn-bold-r-normal--14-101-100-100-c-70-iso8859-1
That's about equal to DejaVu Sans Mono at 8 points.
If you have rebuilt your font cache, either by restarting X or running 'fc-cache -f', and you want to use Xft, then this is equivalent (Tamsyn does not use anti-aliasing):
urxvt.font: xft:Tamsyn:style=Regular:size=10.1
urxvt.boldFont: xft:Tamsyn:style=Bold:size=10.1

Similar Messages

  • I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    >SystemPreferences>Network>DNS

  • Intelligent barcode font not working in Data Merge?

    Intelligent barcode font not working in Data Merge?
    When using Data Merge I only get a pink box where the code is supposed to go. If I cut and paste the same info into the spot the bar works fine. Anybody ever have this problem?

    It looks like you're working with InDesign, correct? I would try posting your question over in the general InDesign forum: http://forums.adobe.com/community/indesign The folks over there will be able to provide you with more specialized expert help

  • Why bitmap index not working?

    I have a table containing 4.2M rows and 16 distinct fs_type_code. So I created a bitmap index ntr_fs_type_code_ind on the column. Then I run the query:
    update /*+ INDEX_COMBINE(NTR_FS_TYPE_CODE_IND) */ ntr_CORPALL_20050801 d
    set eqt_basket_id = NULL, index_weight = NULL
    where
    fs_type_code in ('EQGR','EQVG','EQDL')
    and eqt_basket_id = equity_symbol
    and index_weight = 0;
    I clearly tell optimizer to use the bitmap index. But it turns out the optimizer ignore the index and still use full table scan.
    When I created regular b-tree index, the same query (without hint) use index scan.
    Can anybody tell me why the bitmap index not working here?
    Thanks,

    <quote>I clearly tell optimizer to use the bitmap index</quote>
    You are clearly not doing it right (see bellow). But anyway …
    1. For frequently modified tables (OLTP type application) you may want to rethink the applicability of bitmap indexes …
    low cardinality in itself is not enough justification for using bitmap indexes.
    2. Your update statement may modify a minority, a majority, or anything in between of the total number of
    rows in your table … here is no one universal access method which is always better
    (if there were one they wouldn’t have bothered with coding the rest).
    In short, index access is not always the better way.
    3. Don’t rush into hinting (because that optimizer is such a lousy piece of software) …
    and if you do, make sure you do it correctly and for the right reasons.
    flip@FLOP> create table t as select * from all_objects;
    Table created.
    flip@FLOP> insert into t select * from t;
    30043 rows created.
    flip@FLOP> insert into t select * from t;
    60086 rows created.
    flip@FLOP> insert into t select * from t;
    120172 rows created.
    flip@FLOP> insert into t select * from t;
    240344 rows created.
    flip@FLOP> create bitmap index tx on t (object_type);
    Index created.
    flip@FLOP> exec dbms_stats.gather_table_stats(user,'T',method_opt=>'for all indexed columns',cascade=>true)
    PL/SQL procedure successfully completed.
    flip@FLOP> select object_type,count(*) from t group by rollup(object_type);
    OBJECT_TYPE          COUNT(*)
    CONSUMER GROUP             32
    DIRECTORY                  32
    EVALUATION CONTEXT         16
    FUNCTION                 1648
    INDEX                   23152
    INDEX PARTITION          2048
    INDEXTYPE                 128
    JAVA CLASS             163024
    JAVA RESOURCE            3120
    LIBRARY                   224
    LOB                        16
    MATERIALIZED VIEW          32
    OPERATOR                  464
    PACKAGE                  5488
    PACKAGE BODY               32
    PROCEDURE                 640
    SEQUENCE                  144
    SYNONYM                202512
    TABLE                   18816
    TABLE PARTITION           880
    TRIGGER                  4768
    TYPE                    10640
    TYPE BODY                  16
    VIEW                    42816
                           480688
    flip@FLOP> set autotrace on explain
    update few rows … CBO goes with the index … no hinting
    flip@FLOP> update t d set object_id=object_id-1 where object_type in ('INDEX','PACKAGE','PACKAGE BODY','TABLE');
    47488 rows updated.
    Elapsed: 00:00:09.02
    Execution Plan
       0      UPDATE STATEMENT Optimizer=CHOOSE (Cost=536 Card=47488 Bytes
              =1044736)
       1    0   UPDATE OF 'T'
       2    1     INLIST ITERATOR
       3    2       BITMAP CONVERSION (TO ROWIDS)
       4    3         BITMAP INDEX (SINGLE VALUE) OF 'TX'
    update lots of rows … CBO goes with the ft … no hinting
    flip@FLOP> update t d set object_id=object_id-1 where object_type in ('JAVA CLASS','SYNONYM');
    365536 rows updated.
    Elapsed: 00:00:25.04
    Execution Plan
       0      UPDATE STATEMENT Optimizer=CHOOSE (Cost=638 Card=365536 Byte
              s=8041792)
       1    0   UPDATE OF 'T'
       2    1     TABLE ACCESS (FULL) OF 'T' (Cost=638 Card=365536 Bytes=8
              041792)
    update lots of rows … wrong hint syntax … CBO goes with the ft
    flip@FLOP> update /*+ index_combine(tx) */ t d set object_id=object_id-1 where object_type in ('JAVA CLASS','SYNONYM');
    365536 rows updated.
    Elapsed: 00:00:21.00
    Execution Plan
       0      UPDATE STATEMENT Optimizer=CHOOSE (Cost=638 Card=365536 Byte
              s=8041792)
       1    0   UPDATE OF 'T'
       2    1     TABLE ACCESS (FULL) OF 'T' (Cost=638 Card=365536 Bytes=8
              041792)
    update lots of rows … correct hint syntax … CBO goes with the index … but was it better than the ft?
    flip@FLOP> update /*+ index_combine(d tx) */ t d set object_id=object_id-1 where object_type in ('JAVA CLASS','SYNONYM')
    365536 rows updated.
    Elapsed: 00:00:25.01
    Execution Plan
       0      UPDATE STATEMENT Optimizer=CHOOSE (Cost=1665 Card=365536 Byt
              es=8041792)
       1    0   UPDATE OF 'T'
       2    1     INLIST ITERATOR
       3    2       BITMAP CONVERSION (TO ROWIDS)
       4    3         BITMAP INDEX (SINGLE VALUE) OF 'TX'
    flip@FLOP>

  • [SOLVED] Lightdm theming (GTK) does not work?

    Hi,
    Silly maybe, but in trying out lightdm(-GTK) to replace gdm, I am unable to change the GTK-theme in /etc/lightdm/lightdm-gtk-greeter.conf.
    I was able to change the background and the font, but the theme, the icon (and maybe cursor) remain the default grey. I have tried using Adwaita, which should be installed together with gnome 3 and I have installed gnome-shell-theme-faience from AUR to try it out. None of them are working.
    Maybe this is related:
    I do seem to have another problem with the user-theme-extension: it was outdated according to extensions.gnome.org, so I removed it with pacman and I installed it via the gnome website. But gnome-tweak-tool keeps telling me there is an error with the extension and I'm not able to set a user theme with that tool...
    Anybody have a clue? The wiki nor the AUR hold much info on this and the web is talking about the unity-greeter mostly...
    Last edited by zenlord (2012-06-18 17:18:07)

    The lack of responses seem to indicate two possibilities:
    1. I'm the only one having a problem, or
    2. This is not a bug - I should theme lightdm-gtk manually.
    In either case: the extension-problem is solved now, so that should not interfere (anymore), and upgrading to the latest lightdm(-gtk-greeter) has not solved the problem...
    Last edited by zenlord (2012-06-05 08:02:40)

  • Gvim font not working

    I am trying to use the following font in gvim:
    http://proggyfonts.com/download/downloa … all.pcf.gz
    I added the font to my ~/.fonts and did a
    $fc-cache .fonts
    After relaunching gvim, I can now select the font "OptiSmall" but it looks fuuuuuu...glyyyyyy. So I launched gvim from a terminal to see any hopefully helpful debug output, and there it was:
    (gvim:32066): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
    Anyone know how to fix this? I am assuming I need to tell fontconfig something?
    Thanks!

    gotcha. thanks for the reply! In other words, there is no way to switch to "variable width" in gvim.
    I did your grep but I am not sure how to read "font substitution" from the result. Any pointers?
    [x@arch ~]$ grep -inT helvetic /etc/fonts/conf.d/*
    /etc/fonts/conf.d/29-replace-bitmap-fonts.conf: 9 : <string>Helvetica</string>
    /etc/fonts/conf.d/30-metric-aliases.conf: 8 : Helvetica
    /etc/fonts/conf.d/30-metric-aliases.conf: 45 : eg. Arial to Helvetica
    /etc/fonts/conf.d/30-metric-aliases.conf: 57 : <family>Helvetica</family>
    /etc/fonts/conf.d/30-metric-aliases.conf: 111 : <family>Helvetica</family>
    /etc/fonts/conf.d/30-metric-aliases.conf: 136 : <family>Helvetica</family>
    /etc/fonts/conf.d/30-metric-aliases.conf: 161 : <family>Helvetica</family>
    /etc/fonts/conf.d/30-urw-aliases.conf: 6 : Helvetica, Courier, and Times are handled in 30-metric-aliases.conf.
    /etc/fonts/conf.d/45-latin.conf: 32 : <family>Helvetica</family>
    /etc/fonts/conf.d/60-latin.conf: 26 : <family>Helvetica</family>
    /etc/fonts/conf.d/65-nonlatin.conf: 76: <family>ArmNet Helvetica</family> <!-- armenian -->

  • Why does set font not work in report generation toolkit?

    I would like to change font and underline when inserting text into a Microsoft Word document. I have tried using the
    "Set Report Font" vi directly in front of an "Append Report Text" vi in my own application. The inserted text at the bookmark is always in the default text mode
    of the document. Is this a bug?
    I also tried the find and replace vi with the same result. Font will not change.
    I also cannot  find any examples of this usage that work. See example vi file below.
    Save at C:\ or adjust the template location accordingly in the vi.
    Can anyone help me out?
    Thanks,
    Chris
    Attachments:
    ChassisTestAutomatic (6.1).vi ‏39 KB
    TestPlan.dot ‏34 KB

    Dhubbell wrote:
    That's a cool tool Ben!  However, with a bookmark, you know the location on a Word Template, and if you know the location in MS Word, you can then set the fonts you want in Word.
    Do you know how to change the fonts in a string?
    Example, How do you insert this block of text on a SINGLE MS Word bookmark?
    PART NUMBER: 1234567890
    DESCRIPTION:  These lines are formated dynamically, some orders may have 1 PN, and other orders many have 500 PNs.
    I'm formatting my line details and inserting them on a MS Word bookmark.  After the initial bookmark I have no more control of the fonts for the entire string block.  I'd like to dynamically change the fonts in a string and I'd like to use MS Word.  I saw HTML report writing, but, in my particular application, HTML reports will not work.     
    Doug
    I don't have the time to try anything but as a suggestion I would experiment with the range start end properties (e.g. from start =0 to end =
    12 bold is true, from 13 to 23 bold is false, ....) You first insert text without formatting then you use the range start and end to format the text.
    I'm not sure it will work but it's worth a try.
    Ben64
    note: I would create a 2D array of start and end index of your string and auto-index a for loop that contain the range property node.

  • [SOLVED] MSI GT70 keyboard buttons not working

    Hi! I am a normal user of computers that like games, so I bought this awesome notebook MSI GT70 i7 16gb ram GTX 675MX 128ssd+750hdd, with a keyboard by steelseries.
    Everything was ok, using the notebook as came when I bought, with OS windows 8, with no format nor modifications by me, using it since January 2013.
    The problem is that about 1 or 2 weeks some shortcuts of keyboard arent working anymore:
    - Wifi button isn't working and isn't becoming orange when pressed, and Fn+F8 isn't working either;
    - Screen shutdown button is becoming orange when pressed but not working;
    - Cd-dvd eject button is becoming orange when pressed but not working;
    - I tried also Fn+F9 and Fn+F12 shortcuts, and I think they arent working either.
    At the same time, the Cooler button and the Backlight's Keyboard button are working correctly. Turbo button maybe is working too but I don't know if something become overclock when I activate it.
    I would really appreciate some help, since I love my notebook very much, and I hope it's not a hard problem to solve.
    Thanks!

    Quote from: flobelix on 10-July-13, 00:47:56
    Try resetting EC: >>How to reset the EC (Embedded Controller)<<
    If that doesN't help uinstall SCM and after reboot install latest version: http://www.msi.com/service/download/utility-19670.html
    Also try updating .Net Framework 4.5: http://www.microsoft.com/en-us/download/details.aspx?id=36377
    Hi,
    I followed your advice:
    1. uninstalled SCM, restarted
    2. installed SCM, restarted
    3. tried to update .net framework, had it already
    4. resat the EC
    But unfortunately it did not change my GE60 2OC's behaviour: when i press the back-light button it opens my browser with dragoonarmy/msi.com>/ BUT NO LIGHT.
    Do anybody have a suggestion to solve this??
    Thanks Kurt

  • [SOLVED] Suspend to ram / disk not working in newer kernels

    Hi all,
    this puzzles me for a while:
    My desktop system was able to suspend to ram / disk flawlessly in older kernels. It stopped working with 3.3. The suspend seems to work, the machine goes to standby. But when I try to resume, the machines is on but the screen stays black. Neither the console is working nor can I ssh into it. Only hard reset gets me out here
    I did investigate and found many tips and hints which all led to nowhere. I even changed my filesystem back from btrfs to ext4 and my VGA module from proprietary nvidia to nouveau.
    When this all failed I got to the idea to burn several install disks. One of the official 2011.08.19 (kernel 3.0.3) and one of the snapshots 2012.06.05_04-00-01 (kernel 3.3.7) and 2012.07.17_04-00-01 (kernel 3.4.4). I guess these can not be compromised by some hosed installation. I started one by one and issued the follwing command:
    echo mem > /sys/power/state
    which suspends the machine successfully in all three cases. With 2011.08.19 the resume is working but the other two fail. Some more info about the hardware:
    1. lspci output
    harvey@obelix ~ $ lspci
    00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
    00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
    00:05.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 3 (rev 11)
    00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
    00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
    00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
    00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
    00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
    00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
    00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
    00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
    00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
    00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.3 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
    00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
    00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
    00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
    00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
    01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1)
    02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
    03:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
    03:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
    3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
    3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
    3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
    3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
    3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
    3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
    3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
    3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
    3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
    3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
    3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
    3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
    3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
    3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
    3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
    2. lsmod output of 2012.07.17_04-00-01:
    harvey@obelix ~ $ lsmod
    Module Size Used by
    fuse 68768 0
    tun 15297 0
    rfcomm 33627 8
    bnep 8793 2
    nfsd 246714 2
    exportfs 3665 1 nfsd
    btusb 11764 0
    joydev 9991 0
    bluetooth 190551 22 bnep,btusb,rfcomm
    rfkill 15604 2 bluetooth
    snd_hda_codec_realtek 60409 1
    snd_hda_intel 24053 3
    snd_hda_codec 94305 2 snd_hda_codec_realtek,snd_hda_intel
    microcode 12185 0
    i7core_edac 17477 0
    snd_hwdep 6300 1 snd_hda_codec
    i2c_i801 8180 0
    iTCO_wdt 12813 0
    snd_pcm 74958 2 snd_hda_codec,snd_hda_intel
    r8169 49386 0
    coretemp 5654 0
    edac_core 36656 3 i7core_edac
    iTCO_vendor_support 1929 1 iTCO_wdt
    serio_raw 4653 0
    pcspkr 1899 0
    snd_page_alloc 7185 2 snd_pcm,snd_hda_intel
    snd_timer 18966 1 snd_pcm
    mii 4123 1 r8169
    snd 58997 12 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5410 1 snd
    acpi_cpufreq 5933 0
    mperf 1235 1 acpi_cpufreq
    evdev 9754 4
    processor 26567 1 acpi_cpufreq
    vboxnetadp 18387 0
    vboxnetflt 16743 0
    vboxdrv 1791382 2 vboxnetadp,vboxnetflt
    nfs 276056 1
    nfs_acl 2359 2 nfs,nfsd
    lockd 62987 2 nfs,nfsd
    auth_rpcgss 32327 2 nfs,nfsd
    sunrpc 184998 12 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
    fscache 41059 1 nfs
    aes_x86_64 7508 64
    cryptd 8741 0
    aes_generic 26138 1 aes_x86_64
    xts 3101 32
    gf128mul 6050 1 xts
    dm_crypt 16496 4
    dm_mod 70918 9 dm_crypt
    sr_mod 14823 0
    cdrom 35648 1 sr_mod
    hid_logitech 16560 0
    ff_memless 4690 1 hid_logitech
    usbhid 36430 1 hid_logitech
    hid 85285 2 hid_logitech,usbhid
    sd_mod 29239 7
    pata_jmicron 2480 0
    usb_storage 44760 0
    pata_acpi 3408 0
    ata_piix 23160 5
    crc32c_intel 1987 0
    ahci 20549 0
    libahci 20023 1 ahci
    ata_generic 3295 0
    libata 167611 6 ahci,pata_acpi,libahci,ata_generic,ata_piix,pata_jmicron
    scsi_mod 132974 4 usb_storage,libata,sd_mod,sr_mod
    uhci_hcd 23372 0
    xhci_hcd 81440 0
    ehci_hcd 40994 0
    usbcore 147533 8 btusb,uhci_hcd,usb_storage,ehci_hcd,usbhid,xhci_hcd
    usb_common 954 1 usbcore
    floppy 58615 0
    nouveau 784289 3
    button 4502 1 nouveau
    video 11307 1 nouveau
    mxm_wmi 1425 1 nouveau
    wmi 8475 2 mxm_wmi,nouveau
    i2c_algo_bit 5391 1 nouveau
    drm_kms_helper 33051 1 nouveau
    ttm 64288 1 nouveau
    drm 208926 5 ttm,drm_kms_helper,nouveau
    i2c_core 20369 5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau
    ext4 424175 4
    crc16 1359 2 ext4,bluetooth
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    3. /var/log/pm-suspend.log of a not working suspend
    Initial commandline parameters:
    Tue Jul 17 11:21:18 CEST 2012: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
    Linux obelix 3.4.5-1-ARCH #1 SMP PREEMPT Mon Jul 16 21:35:54 CEST 2012 x86_64 GNU/Linux
    Module Size Used by
    rfcomm 33627 8
    bnep 8793 2
    nfsd 246714 2
    exportfs 3665 1 nfsd
    ext4 424175 3
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    btusb 11764 0
    bluetooth 190551 22 bnep,btusb,rfcomm
    crc16 1359 2 ext4,bluetooth
    joydev 9991 0
    rfkill 15604 2 bluetooth
    snd_hda_codec_realtek 60409 1
    microcode 12185 0
    coretemp 5654 0
    serio_raw 4653 0
    snd_hda_intel 24053 5
    snd_hda_codec 94305 2 snd_hda_codec_realtek,snd_hda_intel
    pcspkr 1899 0
    snd_hwdep 6300 1 snd_hda_codec
    snd_pcm 74958 3 snd_hda_codec,snd_hda_intel
    snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
    r8169 49386 0
    i7core_edac 17477 0
    snd_timer 18966 1 snd_pcm
    edac_core 36656 3 i7core_edac
    mii 4123 1 r8169
    snd 58997 15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    iTCO_wdt 12813 0
    i2c_i801 8180 0
    soundcore 5410 1 snd
    iTCO_vendor_support 1929 1 iTCO_wdt
    acpi_cpufreq 5933 0
    mperf 1267 1 acpi_cpufreq
    evdev 9754 4
    processor 26567 1 acpi_cpufreq
    vboxnetadp 18387 0
    vboxnetflt 16743 0
    vboxdrv 1791382 2 vboxnetadp,vboxnetflt
    nfs 276056 1
    nfs_acl 2359 2 nfs,nfsd
    lockd 62987 2 nfs,nfsd
    auth_rpcgss 32327 2 nfs,nfsd
    sunrpc 184998 12 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
    fscache 41059 1 nfs
    btrfs 710578 1
    libcrc32c 1002 1 btrfs
    zlib_deflate 20436 1 btrfs
    aes_x86_64 7508 64
    cryptd 8741 0
    aes_generic 26138 1 aes_x86_64
    xts 3101 32
    gf128mul 6050 1 xts
    hid_logitech 16560 0
    ff_memless 4690 1 hid_logitech
    dm_crypt 16496 4
    dm_mod 70918 9 dm_crypt
    sr_mod 14823 0
    cdrom 35648 1 sr_mod
    usbhid 36430 1 hid_logitech
    usb_storage 44760 0
    hid 85285 2 hid_logitech,usbhid
    sd_mod 29239 7
    pata_jmicron 2480 0
    pata_acpi 3408 0
    ata_piix 23160 5
    ata_generic 3295 0
    uhci_hcd 23404 0
    crc32c_intel 1987 1
    ahci 20549 0
    libahci 20023 1 ahci
    libata 167611 6 ahci,pata_acpi,libahci,ata_generic,ata_piix,pata_jmicron
    xhci_hcd 81472 0
    ehci_hcd 41026 0
    scsi_mod 132974 4 usb_storage,libata,sd_mod,sr_mod
    usbcore 147565 8 btusb,uhci_hcd,usb_storage,ehci_hcd,usbhid,xhci_hcd
    usb_common 954 1 usbcore
    floppy 58615 0
    nouveau 784321 3
    button 4502 1 nouveau
    video 11307 1 nouveau
    mxm_wmi 1425 1 nouveau
    wmi 8475 2 mxm_wmi,nouveau
    i2c_algo_bit 5391 1 nouveau
    drm_kms_helper 33051 1 nouveau
    ttm 64320 1 nouveau
    drm 208958 5 ttm,drm_kms_helper,nouveau
    i2c_core 20369 5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau
    total used free shared buffers cached
    Mem: 8173500 884060 7289440 0 3764 405872
    -/+ buffers/cache: 474424 7699076
    Swap: 8386556 0 8386556
    /usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
    /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
    /usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
    /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
    Running hook /etc/pm/sleep.d/90alsa suspend suspend:
    /etc/pm/sleep.d/90alsa suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
    /usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
    /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
    /usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
    Kernel modesetting video driver detected, not using quirks.
    /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
    kernel.acpi_video_flags = 0
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
    Tue Jul 17 11:21:18 CEST 2012: performing suspend
    This seems to be a kernel bug. Any input?
    Harvey
    Last edited by Harey (2012-08-06 13:51:49)

    Another life-sign. The issue is still unsolved but I've come a little further. It seems to be a combination of more failures. The first one is USB hardware. I have a usb keyboard-mouse combo from Logitech (comfort cordless desktop). The USB bus does not wake up correctly when resuming from suspend. So my keyboard is unsuable. I put in a file /etc/pm/sleep.d/20_custom-ehci_hcd with the following content:
    BUSES="0000:00:1a.7 0000:00:1d.7"
    case "${1}" in
    hibernate|suspend)
    # Switch USB buses off
    for bus in $BUSES; do
    echo -n $bus | tee /sys/bus/pci/drivers/ehci_hcd/unbind
    done
    resume|thaw)
    # Switch USB buses back on
    for bus in $BUSES; do
    echo -n $bus | tee /sys/bus/pci/drivers/ehci_hcd/bind
    done
    esac
    The bus IDs were taken from /sys/bus/pci/drivers/ehci_hcd
    When I start pm-suspend from a console (no X started) this seems to reanimate my keyboard while the screen stays black (with backlight on). I can type and reboot. Also I can ssh into the machine from my laptop.
    Concerning the blank screen there seems to be a bug in both the proprietary nvidia modules as well as the nouveau driver. The nvidia folks have issued a new beta driver which seems to at least minimize the failures. This all concerns the nv50-family of nvidias cards. I have a GF8600GT which is one of these
    I'll wait for this driver and then restart my testing. Until then - no suspend/hibernate
    EDIT: Today's nvidia 304.32 is solving my issues - I can sleep again
    Harvey
    Last edited by Harey (2012-08-06 13:52:51)

  • New fonts not working in photoshop...

    I have installed new fonts on my mac but they will not work in Photoshop.. can somoene help me? I don't know if I have done something wrong or need to take another step.. I am running CS4 and OS 10.6.4. The message I get when I try to use a font I recently installed is "Could not complete your request because something prevented the text engine from being intitalized." Any help would be greatly appreciated!
    Lisa

    Most likely you have some corrupt fonts installed.
    Try validating the fonts using FontBook to find the most obvious problems.

  • Armenian Mshtakan font not working in MS Word

    Hello,
    I am able to use the Armenian Mshtakan font on a Macbook pro using OS 10.7.5 only in Text Edit.  It will not work in MS Word.
    Is there any way to get Mshtakan font to work in MS Word for Mac?  Currently using MS Office 2011.
    Microsoft's website states that it does not support custom fonts due to security issues, and yet there are some custom fonts that DO work in
    Word,  Does anyone have any ideas on how to get this to work?
    I've tried clearing the cache file for MS Office Preferences, tried copying the font in fontbook to the Microsoft fonts folder. None of these things have worked.
    Thanks!

    I've got the same problem.
    Have you found the solution yet?

  • Copperplate Gothic font not working in some versions of Firefox

    Copperplate Gothic font not properly working in some versions of Firefox. whereas perfectly working in remaining browsers. when I follow the instruction and Restart Firefox in Safe Mode, the problem does not happen in Safe Mode. According to instruction for Troubleshoot and diagnose Firefox problems, If problem not occur in Safe Mode, it is most likely because of hardware acceleration. when I Turn off hardware acceleration, the problem is no longer happening, then hardware acceleration is likely the cause of this issue. How i can fix this issue for Firefox on deployed site without changing font.

    Does Firefox use another font instead?
    If this is the case then which font?
    You can use this extension to see which fonts are used for selected text.
    *fontinfo: https://addons.mozilla.org/firefox/addon/fontinfo/

  • Font not working in Illustrator

    Hi
    I have a problem with a font, which is not working illustrator.
    Yes, I have installed it on the computer  (C:\Windows\Fonts), and the font is working fine in InDesign..
    I have tried to place it in the Illustator folder C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Required\Fonts 
    re-statring the computer, but still not working.
    I'm wokring on a PC with Windows 7
    Please heeeelp me..
    Thank you.

    mariacls wrote:
    I have a problem with a font, which is not working illustrator.
    It wouldn't hurt to clarify what you mean by "not working."
    Does that mean you can see it and select it in the font menu, but then it somehow subsequently fails to __________ ... ?
    Or, do you mean it doesn't appear in the font menu? (Please be sure you check the entire font menu, and not just where you expect it to appear via alphabetical order.)

  • Using AS Linkage name for embedded font not working in CS6

    "Myriad Pro" with bold and italic styles embedded with the linkage names "Body", "BodyBold" and "BodyItalic".
    Creating a TextField using Flash CS6's toolbar and setting its font to "Body*" works fine, but not when its htmlText value has <b> and <em>, etc, tags.
    This also does not work:
    style.setStyle(".something", {fontFamily:"BodyBold"});
    ... but this does:
    style.setStyle(".something", {fontFamily:"Myriad Pro Bold"});
    Using the AS Linkage name worked in prior versions. I like using them because I can change global fonts for "stage" elements.

    Justin_WX wrote:
    So on the list it says Arial http://support.apple.com/kb/ht5484 which is a font from Apple, which is different from Microsoft, but are named the same...
    Is there a list of Microsoft Fonts that will work with Pages?
    Are you actually seeing a noticeable difference in the fonts after conversion? While there are some difference between those fonts, they are very subtle differences and in all likelihood will not really change the look of the document.

  • Embedded CFF font not working in TLF in latest stable build and higher (4.0.0.13875)

    Hi there,
    We are using embedded fonts with the TLF framework and since upgrading to the latest nightly build or the stable build, it stopped working. Here is a short example:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="1024" minHeight="768" xmlns:mx1="library://ns.adobe.com/flex/halo">
         <fx:Style>
              @font-face {
                   embedAsCFF: true;
                   fontFamily: "Courier";
                   src: url("COURIER.otf");
                   advancedAntiAliasing: true;
                   fontStyle: normal;
                   fontWeight: normal;
         </fx:Style>
         <fx:Declarations>
              <s:TextFlow id="tf" fontSize="20">
                   <s:p fontFamily="Courier" fontLookup="embeddedCFF">hallo is dit courier?</s:p>
                   <s:p>hallo is dit courier?</s:p>
              </s:TextFlow>
         </fx:Declarations>
         <s:VGroup>
              <s:RichEditableText textFlow="{tf}" />
         </s:VGroup>
    </s:Application>
    Any idea why it doesn't work anymore. The same example works fine compiling with build; 4.0.0.11686.
    Thanks,
    marcel panse

    Hi Guys,
    I sort of figured out a figured out a solution/workaround:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="1024" minHeight="768" xmlns:mx1="library://ns.adobe.com/flex/halo"
                      creationComplete="onCreationComplete()">
         <fx:Style>
              @font-face {
                   embedAsCFF: true;
                   fontFamily: CourierCFF;
                   src: url(c:/windows/fonts/COUR.ttf);
                   fontStyle: normal;
                   fontWeight: normal;
         </fx:Style>
         <fx:Script>
              <![CDATA[
                   import flashx.textLayout.compose.ISWFContext;
                   import flashx.textLayout.formats.ITextLayoutFormat;
                   import flashx.textLayout.elements.GlobalSettings;
                   import flash.text.engine.FontLookup;
                   import flash.text.engine.RenderingMode;
                   import flashx.textLayout.elements.TextFlow;
                   import flashx.textLayout.elements.SpanElement;
                   import flashx.textLayout.elements.ParagraphElement;
                   import flashx.textLayout.container.ContainerController;
                   import flashx.textLayout.formats.TextLayoutFormat;
                   import flashx.textLayout.elements.Configuration;
                   import flashx.textLayout.compose.IFlowComposer;
                   import flash.text.engine.FontLookup;
                   use namespace mx_internal;
                   private function onCreationComplete():void {
                        createTextFlow();
                   private function createTextFlow():TextFlow {
                        var config:Configuration = new Configuration();
                        var textLayoutFormat:TextLayoutFormat = new TextLayoutFormat();
                        textLayoutFormat.fontFamily = "CourierCFF";
                        textLayoutFormat.fontLookup = FontLookup.EMBEDDED_CFF;
                        textLayoutFormat.renderingMode = RenderingMode.CFF;
                        config.textFlowInitialFormat = textLayoutFormat;
                        var textFlow:TextFlow = new TextFlow(config);
                        var p:ParagraphElement = new ParagraphElement();
                        var span:SpanElement = new SpanElement();
                        span.text = "Is dit courier?";
                        p.addChild(span);
                        textFlow.addChild(p);
                        var flowComposer:IFlowComposer = textFlow.flowComposer;
                        //option 1: This fixes the problem, but i'm not sure why it works without a fontLookupFunction? Does it default to embedded?
                        //you could also specify your own function always returning embedded, but that would just resolve to the same behaviour..
                        GlobalSettings.resolveFontLookupFunction = null;
                        //option 2: I guess this is the more proper solution, specifying the swfContext. Only what context to choose?
                        //every font has its own css/swf and thus context. A paragraph can select a font (and the bold/italic options),
                        //which font to choose here if there are multiple fonts used in the textflow?
                        textFlow.flowComposer.swfContext = ISWFContext(this.getFontContext("CourierCFF", false, false, FontLookup.EMBEDDED_CFF));
                        var cc:ContainerController = new ContainerController( mainText, 200, 200 );
                        flowComposer.addController( cc );
                        flowComposer.updateAllControllers();
                        return textFlow;
              ]]>
         </fx:Script>
         <s:VGroup>
              <s:NumericStepper /> <!-- remove this stepper and the embedded font will work without option 1 or 2 -->
              <mx:UIComponent id="mainText"/>
         </s:VGroup>
    </s:Application>
    Option 1, setting GlobalSettings.resolveFontLookupFunction to null. Fixes the problem, but i'm not sure why it works without a fontLookupFunction? Does it default to embedded? You could also specify your own function always returning embedded, but that would just resolve to the same behaviour..
    Option 2, specify the context: I guess this is the more proper solution, specifying the swfContext. Only what context to choose? Every font has its own css/swf and thus context. A paragraph can select a font (and the bold/italic options), which font to choose here if there are multiple fonts used in the textflow?

Maybe you are looking for

  • Project Server 2010 - Manage Queue anomalies

    Morning All, I'm currently experiencing an odd situation with the Manage Queue function in our Project Server. For the entire year I've been using PS the Manage Queue has never consisted of much more than a couple of projects awaiting check-in. I log

  • Modvat in excise report

    Hello SAP Experts, We have received a invoice from Prime Engineer & they given modvat on Honeywell India ltd. At time of excise report Modvat should shown on Honeywell India ltd & Purchase entry on Prime Engineer(payment party) How to handle this iss

  • MRP Total Planning in Back Ground job(RMMRP000)  Doesn't work

    Hi Gurus I set a background job for Running MRP (RMMRP000) but it doesn't work but when I run MRP for products one by one,it works. Does any one know about Why it operates such a way and if it need Specific Setting in Customization. Thanks Babak Bolo

  • Master_thing_id  and id

    Hi, Can you please let me know what is the difference between master_thing_id and id in wwv_things table? In wwv_things table, id and some other fields like siteid are a part of the primary key but in wwpob_item$ table, master_thing_id with siteid bu

  • Dummy logical link

    Hi everybody, Can I create an empty link? Or a Dummy link or anything like that? Background: We do not want to use the workcenter level in the Navigation Bar but the link level. Still we have to enter a logical link in order to create a work center.