Jump to content
We've recently updated our Privacy Statement, available here ×

hasch73

Members
  • Posts

    19
  • Joined

  • Last visited

hasch73's Achievements

Explorer

Explorer (4/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. hi, I register all available fonts with start the application with the FontFactory of iText. Isn't that enough?
  2. Hi, fonts are in a folder on the server. The TTF files are available and in the pdf embedded (see attachment pdf´s). In the first pdf (see the attachement: text_complete_with_helvetica.pdf) with the font HELVETICA the text is completely indicated. In the second pdf (see the attachement:text_incomplete_with_user_font.pdf) with another font the last line is missing. The TTF file are available und embedded, but the last line is missing. Sorry my bad English.
  3. Thanks! But I think my problem is more complex. The system is a web application and the user can select the font dynamically. see the screenshot. All my report have ARIAL as standard character font. On the basis of the selection in the report the font is replaced.
  4. hi, I´ve update iReport and JR from 3.0.0 to 3.5.0. I works with jdk 1.5 I have a simple Report with one Textfield which holds a long description and needs to stretch dynamically. The user can the font select. I use the FONT_MAP - parameter. I use the parameter to exchange the character font. exporter.setParameter(JRPdfExporterParameter.FONT_MAP, getDefaultPDFFontMap(techMandantBO));protected static Map getDefaultPDFFontMap( TechMandantBusinessObject techMandantBO) {...fontMap.put( new FontKey("Arial", false, false), new PdfFont(fontNormal==null?"Helvetica":fontNormal, "Cp1252", true));...} It runs perfectly, but one user have own fonts and in the PDF the last line is missing. Why? What can I do??? Code:<?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="pscKundensituation" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="495" leftMargin="60" rightMargin="40" topMargin="20" bottomMargin="20" resourceBundle="de.etvice.efp24.report.psc.resources.ReportResources" whenResourceMissingType="Empty"> <property name="ireport.scriptlethandling" value="0"/> <property name="ireport.encoding" value="UTF-8"/> <property name="net.sf.jasperreports.export.pdf.force.linebreak.policy" value="true"/> <property name="net.sf.jasperreports.text.truncate.at.char" value="true"/> <import value="java.util.*"/> <import value="net.sf.jasperreports.engine.*"/> <import value="net.sf.jasperreports.engine.data.*"/> <reportFont name="Arial" isDefault="false" fontName="Arial" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="true"/> <parameter name="header" class="java.util.Map" isForPrompting="false"/> <parameter name="footer" class="java.util.Map" isForPrompting="false"/> <parameter name="kapitel_1" class="java.lang.String"/> <parameter name="kapitel" class="java.lang.String"/> <field name="text" class="java.lang.String"/> <background> <band/> </background> <title> <band/> </title> <pageHeader> <band/> </pageHeader> <columnHeader> <band isSplitAllowed="false"/> </columnHeader> <detail> <band height="57"> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true"> <reportElement key="text5" positionType="Float" isPrintRepeatedValues="false" mode="Transparent" x="0" y="0" width="495" height="14" isRemoveLineWhenBlank="true"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled"> <font fontName="Arial" size="9" isBold="false" isPdfEmbedded="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{text}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band/> </columnFooter> <pageFooter> <band/> </pageFooter> <summary> <band/> </summary></jasperReport> Post Edited by hasch73 at 07/14/2009 10:41
  5. Hi! I can´t download JR! the "exception" is: 403 Forbidden (http://jasperforge.org). Can somebody help me??
  6. How can I generate a pdf, which I may commentate then?
  7. Hi, I use JR3.0.0 and design my reports with iReport3.0.0 I have a masterreport and in detail-band he has a subreport(sr1), these subreport has a subrepor(sr2) again. In sr2 I set in detail-band the parameter "isSplitAllowed" at false. Although, the sr2-data are at 2 different pages. Why? - Can everybody help me
  8. Hi, i create my PDF with jasperreports 2.0.0 . Can i add a existing PDF to my generated PDF??? Thanks!!
  9. Hi, I have one report with text-fields and one image. the image is marked "remove line when blank". if image is existing then the report has two pages. if image don´t existing then the report has two pages too. the text-fields from the first-page rides up, but the text-fields from the second page don´t rides up to the first page?! The first page has free space! Why? What can I do? Post edited by: hasch73, at: 2007/05/23 15:48 Post edited by: hasch73, at: 2007/05/23 15:51
  10. Hi, i have updated to jasperreports1.3.3 and now the problem is away :-) Thanks!
  11. Sorry, switch works now. I don´t know, why!? :silly: Post edited by: hasch73, at: 2007/04/30 14:31
  12. Yes I can: [file name=steuern.jrxml size=148913]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/steuern.jrxml[/file] Thank You! Post edited by: hasch73, at: 2007/04/27 14:02
  13. Hi, switch from jasperreports 1.3.0 to 1.3.2 doesn´t work. console (eclipse): switch http://scm.jasperforge.org/svn/repos/jasperreports/tags/jr-1-3-2/jasperreports H:/eclipse-workspace/jasperreports -rHEAD Working copy not locked; this is probably a bug, please report svn: Working copy 'H:eclipse-workspacejasperreportsjasperreports' is missing or not locked Why? Can somebody help me?
×
×
  • Create New...