How can I embed a base14 font in a pdf - apache-fop

I'm using FOP 0.94 I might be able to upgrade to FOP 0.95.
Is it possible to embed base14 fonts? If so, how?
I have tried putting this in the fop.xconf:
<font-metrics type="TYPE1">
<font-name>Times-Roman</font-name>
<embed/>
</font-metrics>
That didn't work.
Best regards,
Morten

I choose to upgrade to FOP 1.1. A lot of issues went away.

Related

Save images for my web server in SPIFFS on esp32-S2

Hi it's my first time using esp32-S2 because now its not recommended to use esp32. I'm looking for saving images in SPIFFS for my web server. In esp32 i used to use esp32fs plugin (https://github.com/me-no-dev/arduino-esp32fs-plugin) but it doesn't work for esp32-S2. I would like to know if there is any plugin like esp32fs and if not how can i save my images (I'm using arduinoIDE 1.8.19). I've been searching but i didn't found anything. Any orientation is welcomed. Thank you for your time and assistance.
You can try my ESP32_FSWebServer_DRD or ESP_FSWebServer example of ESP_WiFiManager library
Follow the instructions in ESP_FSWebServer Example
You can use either deprecated SPIFFS or the better LittleFS

Sygic Custom URL IOS

i have been using an url launch that open sygic and drives to coordinates n my website.
It looks like this: com.sygic.aura://coordinate|15.06591|47.73341|drive
After the last Sygic update this url launch does not work anymore, it fires up Sygic but no route is calculated any longer.
Does anybody have som ideas to overcome this?
Is there anyone else that hava this problem and found a solution for it?
This is what i tested with iPad Air 12.5.3, Sygic Version 20.4.5
All of Sygics custom url: https://www.sygic.com/developers/professional-navigation-sdk/ios/custom-url
I contacted the Sygic Support. Here is their answer:
Thank you for contacting Sygic.
We apologize for the inconvenience. You're using the legacy format which is no longer supported in the latest release. Instead of this format, universal links can be used.
For your use case, you can use:
https://go.sygic.com/directions?to=latitude,longitude

Generate PDF in Play Framework Scala

I'm using Play framework 2.2.x and I'm looking for some plugin/lib for generating PDF.
I found this plugin:
https://github.com/joergviola/play20-pdf,
but it's for Java and is not supported already
Do u know some repository with this library? Or some alternatives for Scala and Play Framework?
=== Update
I found some fork, but still no working repository
https://github.com/alias1/play2pdf
Try this one https://github.com/Kaliber/scala-pdf. It is really easy to use, and you can define your own css or even use bootstrap.
This seems to be a very good solution : https://github.com/cloudify/sPDF
Otherwise, I highly recommend http://www.html2pdf.it/
Well javascript can be easy solution . You can use jspdf .

how to upgrade jwplayer 5 to 6.x

My question here is simple : how to upgrade my JWPlayer 5 Pro to the current version which is 6.10. I have my own server where the version 5.6 is located but i cant find out whats the upgrade process. I have read the official documentation but for me it does not look that easy
Thanks folks!
There's no simple "process" for doing the upgrade, and no automation is available. In effect, you need to rewrite your pages to use the embedding methods of JW6, which are radically different from JW5.
A synopsis of the changes: http://support.jwplayer.com/customer/portal/articles/1404037-migrating-from-jw5-to-jw6
The basic embedding method of JW6: http://support.jwplayer.com/customer/portal/articles/1406723-mp4-video-embed
The embedding options reference: http://support.jwplayer.com/customer/portal/articles/1413113-configuration-options-reference
My own collection of simple examples: http://misterneutron.com/

More Fields Wordpress plugin - TinyMCE WYSIWYG JS error - can't add images

For some reason, I am getting a JS error on the more fields WYSIWYG field.
When I try to click the button to add an image, or video...or audio, nothing happens and I get a JS error in the Firefox JS error console.
More fields version: 2.0.5
Wordpress version: 3.1
I am unable to downgrade wordpress any further due to potential problems with other plugins. I have tried different versions of more fields but I get the same issue.
Please help if you can, as I can't be the only one with this issue, it may be seriously helpful to others. it's a bit of a show stopper for me - my client ain't happy :-s
Please see the screenshot which might explain things a little more:
http://i.imgur.com/vkVRK.jpg
Thanks,
Michael.
I had exactly the same problem just now.
Adding:
add_action( 'admin_print_footer_scripts', 'wp_tiny_mce', 25);
To my functions.php file fixed it. I think the plugin fails to load this script by default.
Cheers