From users-return-11560-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Wed Mar 13 19:03:31 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 02DDC18064A for ; Wed, 13 Mar 2019 20:03:30 +0100 (CET) Received: (qmail 56797 invoked by uid 500); 13 Mar 2019 19:03:30 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 56779 invoked by uid 99); 13 Mar 2019 19:03:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Mar 2019 19:03:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AE826C288B for ; Wed, 13 Mar 2019 19:03:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.798 X-Spam-Level: * X-Spam-Status: No, score=1.798 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=live.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id PiDLUfCzBSFq for ; Wed, 13 Mar 2019 19:03:26 +0000 (UTC) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-oln040092001106.outbound.protection.outlook.com [40.92.1.106]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 1EADA6114C for ; Wed, 13 Mar 2019 19:03:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bzdPfARQLADdyK+GOLpoGalK/PTMRGdCjvGsbzPjDDA=; b=n8dyvNKV7G9Anr9nAv3c/r82n9mp+1Ef/Urninmr9A96J2Q4GC0PQyNgfiD4WXy0wkO74Qhm47UXL2zQEn9jbgMfD0EZErrb7xmrauEKFw/CQDLJCuBOJ5EPkBXlmDfnbGxSzi7AFWoG+SqxmB29a6/DUep/F1gE3Ah99ZnpxgR9cfFaafHnB6qVWkyqYs6tgnTbqBxVi9at1fSeqYi0B2dsRvRqM8iT0wvp6N1XMnv4Q8akMnaA+m5TK8luSH/YOh8aQdrqyEiToAQ1G+DK0Qci0g23EabvN9uMS1VhwwcLAmpEnRJdChAwts0OdFg2P6OQf193/BvEnAgIndj8jA== Received: from BY2NAM01FT032.eop-nam01.prod.protection.outlook.com (10.152.68.52) by BY2NAM01HT008.eop-nam01.prod.protection.outlook.com (10.152.69.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1643.11; Wed, 13 Mar 2019 19:03:18 +0000 Received: from DM5PR1401MB2105.namprd14.prod.outlook.com (10.152.68.53) by BY2NAM01FT032.mail.protection.outlook.com (10.152.69.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1643.11 via Frontend Transport; Wed, 13 Mar 2019 19:03:18 +0000 Received: from DM5PR1401MB2105.namprd14.prod.outlook.com ([fe80::c8ee:b574:c8a5:593f]) by DM5PR1401MB2105.namprd14.prod.outlook.com ([fe80::c8ee:b574:c8a5:593f%2]) with mapi id 15.20.1686.021; Wed, 13 Mar 2019 19:03:18 +0000 From: =?Windows-1252?Q?Stefan_R=F6nnkvist?= To: "users@pdfbox.apache.org" Subject: RE: Approximate Font Thread-Topic: Approximate Font Thread-Index: AdTZzOWciePnIhBcSM+Er/ULJP9dJQAAdU+C Date: Wed, 13 Mar 2019 19:03:18 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:561F562EFD5DFBC7FF312BB3569B523E4F4FEB6B3E84BC98C73CD104D6086542;UpperCasedChecksum:2F5C3A2C192DFE455336EA6E8B199EB29F7DC8CDCBB1BC1A0140ABF4A5E93C51;SizeAsReceived:6774;Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [iAmZY95K7rq7ineNYn3vc+jyIhAIaIDY] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045);SRVR:BY2NAM01HT008; x-ms-traffictypediagnostic: BY2NAM01HT008: x-microsoft-antispam-message-info: a1WvH11fRsFW3qbBBy1N43sz5PxopV+f6svrzT1ULWPzGsCuW7DScPZhBw15tG8s Content-Type: multipart/alternative; boundary="_000_DM5PR1401MB2105622648ECBDE34DF60614E84A0DM5PR1401MB2105_" MIME-Version: 1.0 X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 3933fa57-0e9d-424b-b594-08d6a7e68def X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2019 19:03:18.4066 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM01HT008 --_000_DM5PR1401MB2105622648ECBDE34DF60614E84A0DM5PR1401MB2105_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I posted this brief code and if you follow it, your questioned is answered.= The program creates a form with the question on top of answer (groups) and= having two different fonts for each line. The information is compared to d= etermine the longest and then spaces the groups accordingly. Hope this help= s=85 https://stackoverflow.com/a/20779205/1579736 Thanks Stefan Ronnkvist ________________________________ From: Kirk, Kenneth Sent: Wednesday, March 13, 2019 1:54:44 PM To: users@pdfbox.apache.org Subject: Approximate Font I'm trying to find a simple way to approximate true type fonts without the = need to embed the font into the document. We have a document management sy= stem which create annotations as graphic overlays. I need to take those ov= erlays and place them as pdf objects on the document. The document managem= ent client software allows the user to create text annotations using any of= the true type fonts installed on the system. How can I create a font desc= ription font that doesn't embed the font and let viewer handle it by approx= imating the closest font. Kenneth D. Kirk Information Systems Advisor Document Management Information Technology ************************************************ Disclaimer - This email and any files transmitted with it are confidential = and contain privileged or copyright information. You must not present this = message to another party without gaining permission from the sender. If you= are not the intended recipient you must not copy, distribute or use this e= mail or the information contained in it for any purpose other than to notif= y the Office of the Illinois Secretary of State. If you have received this message in error, please notify the sender immedi= ately, and delete this email from your system. Any views expressed in this = message are those of the individual sender, except where the sender specifi= cally states them to be the views of the Office of the Illinois Secretary o= f State. ************************************************ --_000_DM5PR1401MB2105622648ECBDE34DF60614E84A0DM5PR1401MB2105_--