issue displaying svg image in Xamarin Forms with nuget package - xaml

Has anyone who has used any of the nugget packages to render svg images in xamarin forms come across an error similar to
System.NotSupportedException: Path Operation l
I seem to get this where the svg is 'bigger', as in there is more xml to it than simpler images.

Related

Problems Converting to Evo PDF

I am using version 8.0.0 of "EvoPdf.HtmlToPdf.NetCore" package in my project. When I try to get the radar canvas image as pdf output, I am not successful. The pdf output is blank. I don't think there is any problem in the code we created the canvas. I am using Chart.Js version 2.9.3 for radar canvas.
The same problem exists when I want to convert "https://www.chartjs.org/docs/latest/samples/area/radar.html" to pdf with "https://www.evopdf.com/demo/" help. Canvas is not drawn in pdf file.
You can read this official article:
https://www.evopdf.com/html-to-pdf-converter.aspx
You can download the code samples provided by him according to the asp.net core you use.
It currently only seems to support .net core2 and 3 versions.

React native unrecognized font family using external Svg

I'm implementing a react native app (with expo, I don't know if this can be relevant). In this app I'm sending an ajax request to an external service and that service returns a list of URLs related to images in svg format that I need to show in my app.
To show the images I'm using react-native-svg library (I've tried with Svg/Image and with SvgUri). Generally it work properly, but there is some SVG that break my app, because it includes a font-family not supported by my react-native project and the iOS simulator is showing me the error: Unrecognized font family '<FONT-FAMILY-NAME>'.
I've already checked several post on stackoverflow and they all suggest to add the specific font-family to the project, but this solution will not fix my issue in log term as in future I can receive a new SVG file with a different font that will break again my app. I obviously have absolutely no control on the SVG provided by the external service. So, what I'm interested to know is:
Is there any way to add dynamically a font-family to react-native project? For dynamically I mean that the app will add the font to its list when it's required by the SVG file
By using Svg/Image (or with SvgUri) is there any way I can overwrite the font to avoid it to break the app?
Thanks in advance for your answers.

Xamarin forms Carrousel and take a picture async

I have been trying to replace my carrousel images with t new photos from my phone camera or album, but for some binding reason, they don't display on the carousel.
I am using Xamarin Media Plugin.
any picture I select should display on the carousel. I have been trying everything in here. IMAGE URL works fine, stored images in the resources folder, works as well. but, for some reason display the images from the media is been a nightmare.
You can clone my sample project # GITHUB
I will appreciate Any help.
Looking at the GITHUB project, easy to understand why no relevant code here, it will require the whole sample project. It seems the carousel is not getting updated when uploading an image, binding?? I am still checking.

Show pdf in JavaFX application

I read the following posts: JavaFX: Display PDF in WebView, Displaying pdf in JavaFX
But there occur some problems for me:
The links of JPedalFX do not work any more and I can't find example codes on the web.
I don't want to use Swing-components in an JavaFX-application.
The solution with PDF JS doesn't work either, because Maven is used in the project and I don't want to put the library in the resources folder.
JxBrowser would be a possible solution but cost too much.
Any ideas?

Colorbox image effects not showing

I am new to drupal and just wanted to work on a image gallery. For this I downloaded colorbox module and installed it. Created a new content type Gallery with Field Type image and Format colorbox in Manage Display section. Basically I am following this tutorial :
Create gallery in D7
I added content to content type Gallery. But when I click on the images, it does not show any effects, instead a normal image view , ie image in a new window ! Whats wrong I am doing?
Do you install module Libraries API?
Download plugin and unpack to sites/all/libraries/colorbox