Re: Extension issue
On 3/19/2014 10:59 AM, Gonzalo Vasquez wrote: Hi there, After checking the image problems related to PostScript output, I'm trying to refactor my extension to produce an external-graphic instead of an svg document, and the first one does render properly both in PDF and PostScript, but not the later. This snippet in the XSL-FO: fo:instream-foreing-object barbecue:barbecue type=Code128 drawText=false checksumRequired=false x=0 y=0 width=90 height=18 barbecue:codeExpression00/barbecue:codeExpression /fo:instream-foreing-object Is getting translated into: fo:instream-foreing-object fo:external-graphic content-height=scale-to-fit content-width=scale-to-fit height=18 src=url('data:image/png;base64,iVBORw0KGgoNSUhEUgAAAMYAAABLCAMcawhpAAADAFBMVEUAADMAAGYAAJkAAMwAAP8AMwAAMzMAM2YAM5kAM8wAM/8AZgAAZjMAZmYAZpkAZswAZv8AmQAAmTMAmWYAmZkAmcwAmf8AzAAAzDMAzGYAzJkAzMwAzP8A/wAA/zMA/2YA/5kA/8wA//8zAAAzADMzAGYzAJkzAMwzAP8zMwAzMzMzM2YzM5kzM8wzM/8zZgAzZjMzZmYzZpkzZswzZv8zmQAzmTMzmWYzmZkzmcwzmf8zzAAzzDMzzGYzzJkzzMwzzP8z/wAz/zMz/2Yz/5kz/8wz//9mAABmADNmAGZmAJlmAMxmAP9mMwBmMzNmM2ZmM5lmM8xmM/9mZgBmZjNmZmZmZplmZsxmZv9mmQBmmTNmmWZmmZlmmcxmmf9mzABmzDNmzGZmzJlmzMxmzP9m/wBm/zNm/2Zm/5lm/8xm//+ZAACZADOZAGaZAJmZAMyZAP+ZMwCZMzOZM2aZM5mZM8yZM/+ZZgCZZjOZZmaZZpmZZsyZZv+ZmQCZmTOZmWaZmZmZmcyZmf+ZzACZzDOZzGaZzJmZzMyZzP+Z/wCZ/zOZ/2aZ/5mZ/8yZ///MAADMADPMAGbMAJnMAMzMAP/MMwDMMzPMM2bMM5nMM8zMM//MZgDMZjPMZmbMZpnMZszMZv/MmQDMmTPMmWbMmZnMmczMmf/MzADMzDPMzGbMzJnMzMzMzP/M/wDM/zPM/2bM/5nM/8zMAAD/ADP/AGb/AJn/AMz/AP//MwD/MzP/M2b/M5n/M8z/M///ZgD/ZjP/Zmb/Zpn/Zsz/Zv//mQD/mTP/mWb/mZn/mcz/mf//zAD/zDP/zGb/zJn/zMz/zP///wD//zP//2b//5n//8z///8SEhIYGBgeHh4kJCQqKiowMDA2NjY8PDxCQkJISEhOTk5UVFRaWlpgYGBmZmZsbGxycnJ4eHh+fn6EhISKioqQkJCWlpacnJyioqKoqKiurq60tLS6urrAwMDGxsbMzMzS0tLY2Nje3t7k5OTq6urw8PD29vb8/PwgKWLDfklEQVR42u3PwQnAIAwF0LTbdP9hsk5FUFJ76aEneR9MQhThHRnvXO1kq9nnnNvsNzH7mEaNpX/drv/VV1E2dfvMGVsEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA+Pn3IXwF22rnLWgAElFTkSuQmCC') width=90 /fo:external-graphic /fo:instream-foreing-object Which is actually correct if not embedded within a fo:instream-foreing-object element, but I cannot figure out how to avoid the use of this element, as without it the extension is not triggered. Any workaround ideas? Regards, Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl mailto:gvasq...@altiuz.cl http://www.altiuz.cl https://app.getsignals.com/link?url=http%3A%2F%2Fwww.altiuz.clukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=4105B337-D596-4DE8-95D7-A6F513935D00 http://www.altiuzreports.com https://app.getsignals.com/link?url=http%3A%2F%2Fwww.altiuzreports.comukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=EECA3C53-0099-43C3-BE84-24CFE9EBFAC9 https://app.getsignals.com/link?url=https%3A%2F%2Fwww.facebook.com%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=C39D552C-5E08-421F-993D-34DC1544A6ED https://app.getsignals.com/link?url=http%3A%2F%2Ftwitter.com%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=72091AAA-8F51-41E8-B646-1044C26776FB https://app.getsignals.com/link?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=612E44AE-C890-40F6-9921-72849F172AF7 Hi, Gonzalo- The use of fo:instream-foreign-object (hopefully it's only misspelled in your e-mail) must be specific to your application. I don't believe it's required as a wrapper for fo:external-graphic elements. -Terence Bandoian - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Extension issue
Hi Terence, Actually it is mispelled in the email ;) The instream... is not required by me, and it actually bothers me, as I need to delete it, but if I omit it the extension doesn't work, but as it is present the extension output is not interpreted correctly, do you get what I'm trying to say? Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://www.altiuz.cl http://www.altiuzreports.com El 19-03-2014, a las 18:03, Terence M. Bandoian tere...@tmbsw.com escribió: On 3/19/2014 10:59 AM, Gonzalo Vasquez wrote: Hi there, After checking the image problems related to PostScript output, I'm trying to refactor my extension to produce an external-graphic instead of an svg document, and the first one does render properly both in PDF and PostScript, but not the later. This snippet in the XSL-FO: fo:instream-foreing-object barbecue:barbecue type=Code128 drawText=false checksumRequired=false x=0 y=0 width=90 height=18 barbecue:codeExpression00/barbecue:codeExpression /fo:instream-foreing-object Is getting translated into: fo:instream-foreing-object fo:external-graphic content-height=scale-to-fit content-width=scale-to-fit height=18 src=url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7k5OTq6urw8PD29vb8/PwgKWLDfklEQVR42u3PwQnAIAwF0LTbdP9hsk5FUFJ76aEneR9MQhThHRnvXO1kq9nnnNvsNzH7mEaNpX/drv/VV1E2dfvMGVsEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA+Pn3IXwF22rnLWgAElFTkSuQmCC') width=90 /fo:external-graphic /fo:instream-foreing-object Which is actually correct if not embedded within a fo:instream-foreing-object element, but I cannot figure out how to avoid the use of this element, as without it the extension is not triggered. Any workaround ideas? Regards, Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl mailto:gvasq...@altiuz.cl http://www.altiuz.cl https://app.getsignals.com/link?url=http%3A%2F%2Fwww.altiuz.clukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=4105B337-D596-4DE8-95D7-A6F513935D00 http://www.altiuzreports.com https://app.getsignals.com/link?url=http%3A%2F%2Fwww.altiuzreports.comukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=EECA3C53-0099-43C3-BE84-24CFE9EBFAC9 https://app.getsignals.com/link?url=https%3A%2F%2Fwww.facebook.com%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=C39D552C-5E08-421F-993D-34DC1544A6ED https://app.getsignals.com/link?url=http%3A%2F%2Ftwitter.com%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=72091AAA-8F51-41E8-B646-1044C26776FB https://app.getsignals.com/link?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=612E44AE-C890-40F6-9921-72849F172AF7 Hi, Gonzalo- The use of fo:instream-foreign-object (hopefully it's only misspelled in your e-mail) must be specific to your application. I don't believe it's required as a wrapper for fo:external-graphic elements. -Terence Bandoian - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Extension issue
Hi, Gonzalo- I'm not familiar with the extension you're using but it sounds like modifying it would be one way to resolve the issue you're facing. -Terence Bandoian On 3/19/2014 4:45 PM, Gonzalo Vasquez wrote: Hi Terence, Actually it is mispelled in the email ;) The instream... is not required by me, and it actually bothers me, as I need to delete it, but if I omit it the extension doesn't work, but as it is present the extension output is not interpreted correctly, do you get what I'm trying to say? Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://www.altiuz.cl http://www.altiuzreports.com El 19-03-2014, a las 18:03, Terence M. Bandoian tere...@tmbsw.com escribió: On 3/19/2014 10:59 AM, Gonzalo Vasquez wrote: Hi there, After checking the image problems related to PostScript output, I'm trying to refactor my extension to produce an external-graphic instead of an svg document, and the first one does render properly both in PDF and PostScript, but not the later. This snippet in the XSL-FO: fo:instream-foreing-object barbecue:barbecue type=Code128 drawText=false checksumRequired=false x=0 y=0 width=90 height=18 barbecue:codeExpression00/barbecue:codeExpression /fo:instream-foreing-object Is getting translated into: fo:instream-foreing-object fo:external-graphic content-height=scale-to-fit content-width=scale-to-fit height=18 src=url('data:image/png;base64,iVBORw0KGgoNSUhEUgAAAMYAAABLCAMcawhpAAADAFBMVEUAADMAAGYAAJkAAMwAAP8AMwAAMzMAM2YAM5kAM8wAM/8AZgAAZjMAZmYAZpkAZswAZv8AmQAAmTMAmWYAmZkAmcwAmf8AzAAAzDMAzGYAzJkAzMwAzP8A/wAA/zMA/2YA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wMDA+Pn3IXwF22rnLWgAElFTkSuQmCC') width=90 /fo:external-graphic /fo:instream-foreing-object Which is actually correct if not embedded within a fo:instream-foreing-object element, but I cannot figure out how to avoid the use of this element, as without it the extension is not triggered. Any workaround ideas? Regards, Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl mailto:gvasq...@altiuz.cl http://www.altiuz.cl https://app.getsignals.com/link?url=http%3A%2F%2Fwww.altiuz.clukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=4105B337-D596-4DE8-95D7-A6F513935D00 http://www.altiuzreports.com https://app.getsignals.com/link?url=http%3A%2F%2Fwww.altiuzreports.comukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=EECA3C53-0099-43C3-BE84-24CFE9EBFAC9 https://app.getsignals.com/link?url=https%3A%2F%2Fwww.facebook.com%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=C39D552C-5E08-421F-993D-34DC1544A6ED https://app.getsignals.com/link?url=http%3A%2F%2Ftwitter.com%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=72091AAA-8F51-41E8-B646-1044C26776FB https://app.getsignals.com/link?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Faltiuzukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDAk=612E44AE-C890-40F6-9921-72849F172AF7 Hi, Gonzalo- The use of fo:instream-foreign-object (hopefully it's only misspelled in your e-mail) must be specific to your application. I don't believe it's required as a wrapper for fo:external-graphic elements. -Terence Bandoian - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org