Font Metrics, Completely Wrong Values

So what's the deal with font metrics?
The values it gives are completely wrong.
For example with a monospaced font i printed out every single
character on screen (upper, lower, 0-9, symbols).
The font metrics were:
ascent: 17
descent: 5
height: 22
leading: 0
Im trying to find the correct ascent. The REAL ascent is only 10.
The font metrics value is off by 70% and it usually is off by a lot for
all the fonts ive tried. The descent is off by 2 which isnt bad i guess.
Anyone know how to get the ACTUAL size?
in this picture the ascent is high but in my experience it is much higher:
http://www.devx.com/Java/Article/7932/1954?pf=true

The Line and Font Metric units are pixels not points.
That applet doesnt work.
Any attempt to use the "patch" results in:
Exception in thread "AWT-EventQueue-2" java.lang.NoSuchMethodError: gui.PatchFontMetrics.patch(Ljava/awt/FontMetrics;)Lgui/PatchFontMetrics;
     at test.FontInfo.describeFont(FontInfo.java:56)
     at test.FontInfo.handleEvent(FontInfo.java:77)

Similar Messages

  • NI PCI-6602: semi-period measurement stops unexpectedly or returns wrong values

    Hi,
    Using an NI PCI-6602 card we try to measure the semi-periods of a digital signal.
    In "continuous sampling mode", 10 samples are collected in the buffer and then are read
    out.
    Up to 6 counters on this card are sampling the same signal in our testing configuration.
    Here we found these issues:
    1. Failure
    In principle, the measurement runs correctly, but one or more counters sporadically may
    suffer a complete failure. I.e. these counters don't provide samples anymore.
    Only after stopping and restarting the assigned task, a failed counter works again.
    Apparently, a counter failure is most likely to happen when
        - the sampled signal "changes", i.e. when the pulse width of the signal changes,
        - or when the computer load is high, e.g. when opening a window of another application.
    Every counter occasionally failed, but the issue was found very often at counter 1 of
    the PCI-6602 card, if we used counters 0 through 5 in parallel.
    Using another PCI-6602 card, the failures happened preferably on counters labeled "near"
    number 5.
    2. Wrong values
    Occasionally the "interpretation" of the sampled values changes, i.e. the length of the
    "high level" period is returned, where the "low level" period length should be given, and
    vice versa.
    This is our task configuration:
    Configuration done with MAX:
    Signal input range:    2 usec - 2 sec
    Custom Scaling:        None
    Sample mode:        continuous
    Buffer size:        10 Samples
    In addition these calls are made:
    ret = DAQmxSetDigEdgeArmStartTrigSrc( task->mHandle, <use the same terminal as is used for
    the signal to be measured>);
    ret = DAQmxSetArmStartTrigType( task->mHandle, DAQmx_Val_DigEdge);
    ret = DAQmxSetDigEdgeArmStartTrigEdge( task->mHandle, DAQmx_Val_Rising);
    ret = DAQmxSetCISemiPeriodStartingEdge( task->mHandle, <the channel>, DAQmx_Val_Falling);
    Best regards
    Manfred

    Hi Manfred7,
    did you already test this behaviour with a simple example from us?
    Just go through the example database and try the examples there.
    These examples should work. 
    If it works, there is a problem with your programm.
    If it won't work, please tell me more about your software:
    - Version
    - DAQmx Version ,...
    best regards
    Dippi 

  • What is font metric ?? (HELP)

    hi, i am currently doing my project using java... 1 of the features in my system is the changing of font type and size of selected text... however my teacher wants me to make use of font metric (hope i never spelled wrongly)...
    can someone tells me wat is font metric ? and any examples to show??
    i appreciate all helps....

    The following code should get get the height and ascent of the font of any componant or object that inherits from componant. (I haven't compiled or run this code so it may contain errors)Componant yourComponant = new Componant();
    Font yourFont = yourComponant.getFont();
    FontMetrics yourFontMetrics = getFontMetrics(yourFont);
    int fontHeight = yourFontMetrics.getHeight();
    int fontAscent = yourFontMetrics.getAscent();fontHeight contains the height of a line of text in this font.
    fontAscent contains the the ascent of this font (from baseline to the top of most characters).
    Follow the link in the last post to see all the methods and what they do.

  • Sapscript font metrics generate AFM file howto

    Hi scripters,
    I'm creating an 11pt font for HPLJ5SI.
    In SE73, I created new system fonts HELVE 110 normal, bold and so on.
    Then SE73 printer fonts for ZHPLJ5SI, same as system fonts. All other HELVE and TIMES fonts have AFM set for cpi. The fontmetrics are displayed as (i.e.( "sapLinkToAFM HPLJ5SI HELVE 100 false false".
    I created (also in SE73) new print controls; I derived the correct value comparing the respective HEX strings for 10 point and 12 point HELVE.
    I tried "sapLinkToAFM HPLJ5SI HELVE 110 false false" but this does not generate.
    Now I used the same definition as for 10 points. The output looks fine but I have doubts about the character spacing: It looks different from what I print from MS Word ARIAL.
    I remember there is a (DOS) program to generate font metrics but I forgot the details; Note 12462 does not really help.
    I would appreciate a step-by-step guide or a link to a good description.
    Best Regards,
    Clemens Li

    Hi,
    Are you trying to generate a PDF file or print to a printer. It is not a good idea to try adding HELVECYR to device type PDF1. You should create the PDF via a device type that supports Cyrillic characters like SAPWIN or SAPWIN5. Also you need to upload true type fonts that support the cyrillic charcters as described in SAP note 322998.
    Alternatively if you have a unicode system, you can use unicode device type PDFUC. It is still necessary to upload true type fonts that support the cyrillic charcters. See SAP note 999712.
    regards,
    Aidan

  • Inconsistent font metrics

    I am printing a report. For each page, I go through all the text that I want to print on that page using FontMetrics.stringWidth to determine how much space the string will take, and using this information to make decisions about spacing and layout. Then I make a second pass through all the Strings where I actually print them. I do a stringWidth on each String again in this second pass to make final decisions about placement.
    And here's the strange part: When I do the second stringWidth, I sometimes get a different value than I did from the first stringWidth! Even though the difference is just one or two percent, this messes up my calculations, because I had this silly idea that the width of the String would be the same no matter how many times I ask.
    Slightly subtracting from the strangeness: When I begin the page, I create all the Fonts I will need, and then I do a Graphics.getFontMetrics(font) to get a FontMetrics object for each, which I use in the first round of calculations. When I get to the second round of calculations, I have now done a setFont() of the appropriate font, and then I do a getFontMetrics with no parameter to get the font metrics for that font. So it's a different FontMetrics object, but its for the same Font on the same Graphics. Shouldn't they be identical? (I am quite sure that the Font is the same in both cases.)
    I can work around the problem by saving the FontMetrics object I get the first time and just using it again the second time. (I suppose it would be better still to save the size and thus save the redundant calculation, but that would be a pain.) But I would like to understand what is going on. Any words of wisdom?

    I've never been working much with font metrics however i'm aware drawing in java has some incoherencies, like if you draw a hollow circle and a filled circle with the same coords they won't have the same size, etc. you should keep the same values or access the font metrics the same way twice. otherwise, i can't see... you can just keep an array ndicating the size of each line, etc.

  • Webi base on BW query based on Infoset comes back with wrong values

    Hello:
    I have a Webi report on an OLAP Universe, on Bex Query.
    The bex query is based on 1 INFOSET.
    When I run the webi report the values that comes back a totally wrong values.
    The correct results are not brought back.
    When I do a test with crystal reports to the infoset, I can see the correct values.  (I'm aware crystal uses different drivers).
    The test is BW query designer, and crystal brings back proper values from Infoset based BW query.
    Webi on Infoset based BW Query comes back with wrong data.
    query is simple.
    Pull in 3 attributes, 3 key figures, where componentkey = "111"
    I get 36 rows in Crystal and 36 rows in Bex Analyzer, 36 rows in BW query designer (web analyzer).
    I get many rows in webi (almost like a CARTENSIAN product).
    I search a round this forum but still did not see a conclusive answer to this problem.
    But I see another thread that several others faced this same issue without a resolution.
    My environment.
    BOE XI 3.1 SP2
    No fix packs
    SAP IK 3.1 SP2
    HPUX-IA64
    Thanks in advance for any help.
    Dwayne

    Was this problem ever solved?
    I am having a similar problem with an infoset based query.
    I have created the BW infoset, and confirmed that the correct data is returned from the underlying infoproviders. A simple BW query on that infoset yields the same results.
    Create the universe, and then the WEBI, and WEBI now shows hundreds of records where I expect 10. Data is being returned in WEBI that definitely shouldn't be there. It's almost like the restrictions applied in the characteristic restriction area of my BW query are being ignored, even if I include them in the WEBI query.
    Cheers,
    Andrew

  • Full Points sure: Wrong values populating in report (BEX)

    Hi Gurus,
    I got an Issue on CRM Report. Report is populating wrong values. 
    In the report, We have structure called “Opportunity” (in that structure fields are New opportunity, Close opportunity, Win opportunity and Open opportunity) in query and  One key figure called “Revenue”.
    On revenue we have one condition with variables.  But, in that condition everything is fine.
    The Condition Screen is like this:
    Radio Button: Single characteristic  is selected
    "Opportunity Sales ID" selected in Characteristics.
    Keyfigures:                                            
    Revenue                      New Opp                      TOP N             TOP X OPP
    Revenue                      Open Opp                     TOP N             TOP X OPP
    Revenue                      WINS                           TOP N             TOP X OPP
    Revenue                      Lost                             TOP N              TOP X OPP
    everything is right in this: If we select top 10 opportunities. we are getting wrong values
    for ex:  if we select top 10 Opportunities (in the selection screen)  means “REVENUES”.
    We are getting 12 values. 10 values are correct remaining 2 values are wrong..
    There is no Update routine for “revenue” keyfield.
    Can please suggest me on this…… What are possibilities for wrong values ...
    FULL POINTS SURE FOR THIS………………
    THANKS,
    KN

    Hi All,
    Can anybody answer... this...
    thanks,
    KR

  • Updated CODE1 is showing wrong values in 2LIS_05_QE1

    Hi all,
    I'm using 2LIS_05_QE1 extractor to report over qualitative data in BW. When the code of the characteristics is updated, the extractor takes 2 records, before and after images. The extractor is gathering wrong values for the CODE1 field  in the before image.
    REQUEST     DATAPAKID     RECORD     ROCANCEL     PPLNKN     MERKNR     CODE1     GRUPPE1     ZHLNSTAT
    REQU_4KVR0APSV0RSZ7N70IOR0F95L     1     5120          5     40     0     CIBAU038     1
    REQU_4KPIA4UG5G1IKN6DE3XFWKIS9             3     4045     X     5     40     0     CIBAU038     -1
    REQU_4KPIA4UG5G1IKN6DE3XFWKIS9             3     4046          5     40     75     CIBAU038     1
    REQU_4KYF8YNIEMXNZI7P2Y5BM21W9     3     4045     X     5     40     0     CIBAU038     -1
    REQU_4KYF8YNIEMXNZI7P2Y5BM21W9     3     4046          5     40     75     CIBAU038     1
    We have changed the characteristic two times, now we can see two of the before images with the ROCANCEL field marked with = 'X'. The problem appears in the second before image which is not taking the actual value of the CODE1 field (75), instead is showing the value in zero. Then, when I report over the key figure in the table above ZHLNSTAT (quantity of values) the results are showing 2 values for CODE1=75 and -1 values for CODE1=0.
    Any ideas?

    I have checked Datasource and CODE1 is not a hidden field...apart from this field there are other fields too which I can see in Datasource in R/3 about dont see them in BW ....
    Please let me know what could be wrong.
    Thanks,
    Murtuza.
    Edited by: Murtuza Morwala on Jun 27, 2009 7:36 AM

  • HTMLDB_APPLICATION.G_F01 has wrong value!

    HTMLDB_APPLICATION.G_F01 has wrong value!
    Hello again,
    I have a search page in my app (here the user defines the search criteria) P1.
    The page branches to P130, where the result is shown. This second page contains a region of type 'SQL Query (PL/SQL Function Body Returning SQL Query)'. The code for this dynamic query is 231 lines of code, so I want to spare you scrolling through it here . What it basically does is generating SQL QRY's such as the following:
    select     distinct(sq.SAMPLE_ID) XXX,
    'ID: '||sq.SAMPLE_ID||'
    ' ||'Type: '||sq.SAMPLE_TYPE||'
    ' ||'Collection Date: '||sq.COLLECTION_DATE SAMPLE_INFO,
    'Aliquots (T/A): '||to_char(sq.ALIQUOTS_TOTAL)|| '/' ||to_char(sq.ALIQUOTS_AVAILABLE)||'
    ' ||'Volume (T/A): '||to_char(sq.VOLUME_TOTAL,'990D00')|| '/' ||to_char(sq.VOLUME_AVAILABLE,'990D00') AVAILABILITY,
    'Age: '||sq.PATIENT_AGE||'
    ' ||'Gender: '||sq.PATIENT_SEX||'
    ' ||'Bloodtype: '||sq.BLOOD_TYPE||'
    ' PATIENT_INFO,
    DML_SERVICE.get_Diagnoses(sq.SAMPLE_ID) DIAGNOSES,
    DML_SERVICE.get_Medications(sq.SAMPLE_ID) MEDICATIONS,
    DML_SERVICE.get_Interferences(sq.SAMPLE_ID) INTERFERENCES,
    DML_SERVICE.get_LabData(sq.SAMPLE_ID) LABDATA,
    decode(to_char(sq.ALIQUOTS_AVAILABLE), '0', null, htmldb_item.text(1, '1', 1, 2)) ORDER_QTY,
    decode(to_char(sq.ALIQUOTS_AVAILABLE), '0', null, htmldb_item.checkbox(2,sq.SAMPLE_ID)) ORDER_ME
    from SEARCH_V01 sq
    where sq.DIAGNOSIS = 'D-Dimer'
    order by 1 desc
    The DML_SERVICE functions just return a string(Varchar2). At the right side of the report I have two columns, one with a textfield (ORDER_QTY, default: 1) and one with a checkbox (ORDER_ME) for each line.
    For each line where the checkbox is checked, a process (On Submit - after Comp and Val) places the order for the requested quantity (this is done by inserting an Order ID into the ALIQUOTS table -> see bold update statement below).
    The process follows:
    declare
    alq_qty number;
    alq_id number;
    cnt number;
    begin
    cnt := 0;
    for i in 1..HTMLDB_APPLICATION.G_F02.count
    loop
    select count(*) -- set alq_qty to number of available alq's
    into alq_qty
    from ALIQUOTS a
    where a.SAMPLE_ID = HTMLDB_APPLICATION.G_F02(i)
    and a.ORDER_ID = 0;
    insert into D_DEBUG (ID, DD) values (1, 'wanted: ' || HTMLDB_APPLICATION.G_F01(i) || ' available: ' || alq_qty); -- REMOVE!!!
    if alq_qty > to_number(HTMLDB_APPLICATION.G_F01(i)) then -- if there are enough alq's
    alq_qty := to_number(HTMLDB_APPLICATION.G_F01(i)); -- set alq_qty to number of ordered alq's
    end if;
    for n in 1..alq_qty
    loop
    select min(ID)
    into alq_id
    from ALIQUOTS
    where sample_id = HTMLDB_APPLICATION.G_F02(i)
    and order_id = 0;
    insert into D_DEBUG (ID, DD) values (1, 'alq_id: '||alq_id); -- REMOVE!!!
    update ALIQUOTS
    set order_id = :P130_SELECT_ORDER
    where id = alq_id;
    cnt := cnt + 1;
    end loop;
    dml_service.upd_sample_record(HTMLDB_APPLICATION.G_F02(i)); -- refresh data in SAMPLE table
    end loop;
    :P130_MSG := 'Assigned '||cnt||' aliquots to order: '||:P130_SELECT_ORDER;
    end;
    Now my problem is that this process does what it should, sometimes. When I enter 6 in one row and check the checkbox and enter 4 in another row and check that checkbox and then press SUBMIT, 10 aliquots are assigned to my order.
    Sometimes.... the other times the process just orders 2 aliquots, one of each line and disregards the number entered in the textfield.
    Or so it may seem: I added some lines to write debug info into D_DEBUG (see above.) From those entries you can assume that the content of HTMLDB_APPLICATION.G_F01(i) is in fact '1' when the process does its work. So I think the problem lies somewhere in the creation of htmldb_item.text(), (I went through the API of that htmldb_item again and again...)
    Also: I can reproduce / recreate this error. It's totally weird: for some rows it (always) works and for some it (always) doesn't !!!
    So, any help, any suggestion is really appreciated (I'm currently working on bringing the crucial part of this to marvel.oracle.com)
    -David-
    [Edited by: sleuniss on Jul 15, 2004 12:18 PM]
    Changed subject line.

    Now the subjectline is right, but the indentation is gone.... :-(
    again the SQL query:
    select     distinct(sq.SAMPLE_ID) XXX,
               'ID: '||sq.SAMPLE_ID||'
    ' ||'Type: '||sq.SAMPLE_TYPE||'
    ' ||'Collection Date: '||sq.COLLECTION_DATE SAMPLE_INFO,
               'Aliquots (T/A): '||to_char(sq.ALIQUOTS_TOTAL)|| '/' ||to_char(sq.ALIQUOTS_AVAILABLE)||'
    ' ||'Volume (T/A): '||to_char(sq.VOLUME_TOTAL,'990D00')|| '/' ||to_char(sq.VOLUME_AVAILABLE,'990D00') AVAILABILITY,
               'Age: '||sq.PATIENT_AGE||'
    ' ||'Gender: '||sq.PATIENT_SEX||'
    ' ||'Bloodtype: '||sq.BLOOD_TYPE||'
    ' PATIENT_INFO,
               DML_SERVICE.get_Diagnoses(sq.SAMPLE_ID) DIAGNOSES,
               DML_SERVICE.get_Medications(sq.SAMPLE_ID) MEDICATIONS,
               DML_SERVICE.get_Interferences(sq.SAMPLE_ID) INTERFERENCES,
               DML_SERVICE.get_LabData(sq.SAMPLE_ID) LABDATA,
               decode(to_char(sq.ALIQUOTS_AVAILABLE), '0', null, htmldb_item.text(1, '1', 1, 2)) ORDER_QTY,
               decode(to_char(sq.ALIQUOTS_AVAILABLE), '0', null, htmldb_item.checkbox(2,sq.SAMPLE_ID)) ORDER_ME
    from     SEARCH_V01 sq
    where  sq.DIAGNOSIS = 'D-Dimer'
    order    by 1 desc
    and the process:
    declare
       alq_qty number;
       alq_id number;
       cnt number;
    begin
       cnt := 0;
       for i in 1..HTMLDB_APPLICATION.G_F02.count
       loop
          select count(*) -- set alq_qty to number of available alq's
           into alq_qty
           from ALIQUOTS a
           where a.SAMPLE_ID = HTMLDB_APPLICATION.G_F02(i)
           and a.ORDER_ID = 0;
    insert into D_DEBUG (ID, DD) values (1, 'wanted: ' || HTMLDB_APPLICATION.G_F01(i) || ' available: ' || alq_qty); -- REMOVE!!!
          if alq_qty > to_number(HTMLDB_APPLICATION.G_F01(i)) then -- if there are enough alq's
             alq_qty := to_number(HTMLDB_APPLICATION.G_F01(i)); -- set alq_qty to number of ordered alq's
          end if;
          for n in 1..alq_qty
          loop
             select min(ID)
              into alq_id
              from ALIQUOTS
              where sample_id = HTMLDB_APPLICATION.G_F02(i)
              and order_id = 0;
    insert into D_DEBUG (ID, DD) values (1, 'alq_id: '||alq_id); -- REMOVE!!!
             update ALIQUOTS
              set order_id = :P130_SELECT_ORDER
              where id = alq_id;
             cnt := cnt + 1;
          end loop;
          dml_service.upd_sample_record(HTMLDB_APPLICATION.G_F02(i)); -- refresh data in SAMPLE table
       end loop;
       :P130_MSG := 'Assigned '||cnt||' aliquots to order: '||:P130_SELECT_ORDER;
    end;
    -David-

  • TDS certificate wrong values down payment clearing

    Hi,
    we are using 4.7 version with patch level Sap &APPl( accounts &
    Logistics) SAPKH47029. we are using extended witholding tax. with three
    tax codes. Tds + Surcharge, Ecess , SHEcess
    we made vendor downpayment Rs5000/-. at the time my TDS is
    TDS+Surcharge= 550, Ecess=11, SHEcess= 6, Total tax= Rs567/-
    we made vendor invoice Rs10000/- at the time TDS is
    TDS+Surcharge= 1100, Ecess=22, SHEcess= 11, Total tax= Rs1133/-
    We cleared downpayment using F-54 aginst invoice.
    at the time it has reversed the Downpayment tds entry Rs567/-
    i made remittance challan J1INCHLN amount RS 1133/- it is correct.
    While generating TDS certificate it is showing wrong values. Rs 1116/-
    it is showing two line items.
    Amount paid TDS Surcharge Educat cess Total tax
    9450.00        500  50              1                 549.00
    5000.00        500 50              17                567.00
    Total 1116.00
    But it is showing correct value in Querterly e returns J1INQEFILE

    Hi,
    Note Number: 1124300

  • Cannot Read Font Metrics Issue on Save As PDF

    Hi All
    On saving a document as PDF, the FrameMaker Console displays the message:
    The font file may be damaged.
    maker: Cannot read font metrics from font file named Tahoma-Bold.
    The PDF is created but it contains squares in place of letters.
    This only happens for one document within my book.
    I have removed and reinstalled Tahoma, with no effect.
    What has happened and what do I need to do to enable save to PDF for this document.
    I am using FrameMaker 9.0 installed as part of Technical Suite 2 and running on Windows 7 professional.
    Thank you for your help.
    Claire

    I'm on FrameMaker 10, installed about a month ago, and suddenly, yesterday, I started getting this exact error on PDFing a book I'd previously had no trouble with. Nothing apparently changed in my setup between everything working fine and getting these "the font file may be damaged" console errors. Interestingly, it's on exactly the same font as reported by Claire and MichaelH; Tahoma and Tahoma-Bold are listed as the troublesome fonts. These are not the commonplace Frame console "missing font" errors -- they totally mess up the PDF.
    Both these fonts work perfectly in Word. We tried reinstalling, with no change, and I was about to call Adobe support, as recommended by our IT desk, but checked this forum first.  A million thanks, Michael Müller-Hillebrand, for posting the exact solution to the problem. I cleared the Convert CMYK to RGB box and everything is fine now. Thank you SO much.
    Adobe, could you please fix this? First message on this thread was almost a year ago and my copy of Frame was purchased last month. The issue should have been fixed by now. This has cost me about three hours, plus the time of the IT desk reinstalling FrameMaker.

  • Viewing wrong values in messageStyledtext box created by personalisation

    Hi
    I created a messageStyledText thru personalisation and the value is setting to this by calling a procedure.Please find the code below.
    String sql="BEGIN XXCHR_ACCRUAL_BALANCE_CALC(:1,:2); END;";
    oapagecontext.writeDiagnostics(this, "*** Congragulations you entered the Action" + sql , 1);
    //SSHRParams sshrParams = new SSHRParams(oadbt);
    OracleCallableStatement stmt = (OracleCallableStatement)oadbt.createCallableStatement(sql,1);
    stmt.setString(1,person_id);
    stmt.registerOutParameter(2,OracleTypes.NUMBER);
    stmt.execute();
    oadbt.commit();
    String us_pto_accrual_value = null;
    us_pto_accrual_value = stmt.getString(2);
    Issue now is : First time i login accrual balance will be displayed correctly in the text box.There is Save button in the page.For current pay period i entered a PTO value as 8 hours.Then i clicked on the save button.The accrual is not submitted so after page refreshes the same value which we have seen before shd come.But the value is coming something different.So what i have done is i tried to print this stmt.getString(2) value using diagonistics.First time it is retrieving correctly but after clicking on the save button it is assigned some wrong value.
    I closed the current IE and opened a new IE then it is showing correct values.
    Can anyone help on this issue.?
    It is very urgent.
    Thanks
    Preeti

    Hi Gaurav,
    We are just calling the procedure in the backend and we are assigning the result to the out parameter and that out parameter is assigining to a variable using getString method.
    Then we are picking the id for that and setting the value like this:
    OAMessageStyledTextBean uspto = (OAMessageStyledTextBean)pgbean.findChildRecursive("USPTOSTYLEDTEXT");
    uspto.setValue(oapagecontext,us_pto_accrual_value);
    Thanks
    Preeti

  • Statvfs returns wrong values

    Hi,
    I am developing a program the will check for disk space (used,blocks, available ...) and i am using the statvfs.h file.
    When tested with small capacity disks (~5G) it works fine (compared to df -k).
    When tested with large capacity disks (~400G) it returns wrong values(compared to df -k).
    I am using f_bavail and i am casting from fsblkcnt_t to integer/long.
    Please help.
    Thanx R.

    Thanks for your answer.
    I have discovered that it (statvfs.h) doe's not work with vxfs, only with ufs.
    I am using Veritas Cluster Server.
    Any chance of an answer ??
    thanks,
    R.

  • Color picker on Illustrator CC 2014 shows wrong values

    See the image above . The selected area filled color is e6e6e6 ( 230, 230, 230 ) but the color picker shows the wrong value 4d4d4d. Its happens only on Illustrator , What is this actually is there any problem with the color mode settings ? Please help me 

    You misunderstand me, so don’t be too quick to judge.
    I said that the Color panel was more efficient than the Color Picker. It has sliders so that you can adjust colours precisely as you wish first time, rather than just groping somewhere on a big area of colour in the Picker and then having to make fine numerical adjustments afterwards (plus an OK when you’re done).
    The Color panel is particularly useful when you are working in CMYK because it ensures that you get clean mixtures when you want them (which the Picker does not, without fine tweaking afterwards).
    And if you want to get shades of the same colour, you simply hold down Shift as you drag one of the sliders.
    In conjunction with the Swatches panel, I would go for the Color panel any time, but if you prefer the Picker that’s quite all right by me.

  • Wrong  value  in java stored function

    Hi All,
    i have written a java stored function,
    at the end of the code it insert record into the database
    among other columns also a number(18,3) column,
    when I debug it (out side of server) - works fine.
    when I load it to database i get wrong values in column
    (like instead of 76.546 i get 77.667) I can't figure out where it comes from.
    I use big decimal in java code.
    if i Hard code the value in java code it works fine!
    am I missing something ?, calculations/ data type different out side then inside database? using oracle 10.2.0.2
    Cheers
    Sahar

    Hi
    the code calculate some averages of amounts ( money) according to several
    conditions,and parameters given to the function and stores the average into table in the database
    the money columns are of data type 18,3 , both source and target tables have same structure.
    thanks
    Sahar

Maybe you are looking for

  • Problems setting up Verizon DSL (DHCP) and AirPort Extreme

    I have Verizon DSL with DHCP and old router (Linksys WRT54G). I've bought iMac and new router (AirPort Extreme) to connect to iMac wirelessly. I have a Windows computer connected to the Linksys WRT54G. Now here is the story. I can connect verizon DSL

  • Using ADD_CONTROL of CL_GUI_SPLITTER_CONTAINER

    Hi Forum, I would like to add (and remove) the controls of a splitter container grid by program. So I think the methods ADD_CONTROL and REMOVE_CONTROL should be the right choice. The problem is, that the use of ADD_CONTROL does not work for me. There

  • Limitation for volume of invoices to be paid via ACH

    Hi All, Users wants to know if the payment program will error out if the volume of invoices to be paid to one vendor via ACH increases to 300 or more invoices. The user suspects that the ACH file may limit the # of invoices payable on one file. any i

  • Pin names and numbers do not print with black and white printer setup option

    Multisim V12 Printer HP LaserJet 1320 File -> Print Options -> Print Sheet Setup, check In black/white, OK Then File ->  Print Preview, shows all elements of the drawing in black white Then  select Print and the drawing prints without pin names and p

  • Ipod Service error, Wont go away

    ive tried everything. I did every step on that document that tells you how to fix it, i restarted, turned off all system services (other than MS ones), but nothing will work, i keep getting ipod service error. I've removed/reinstalled itunes/ipod abo