Skip to content

Commit b3c55fe

Browse files
Merge pull request #2039 from Syncfusion-Content/hotfix/hotfix-v25.1.35
DOCINFRA-2341_merged_using_automation
2 parents 216abd0 + 0911cf2 commit b3c55fe

File tree

2 files changed

+53
-3
lines changed

2 files changed

+53
-3
lines changed

File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,12 +841,12 @@ If you are using Windows 7/8 or Windows Server 2008/2012, please use Chromium ve
841841
<br/><br/>
842842

843843
Please refer to the below thread for more information,
844-
[https://support.google.com/chrome/thread/185534985](https://support.google.com/chrome/thread/185534985)
844+
<a href="https://support.google.com/chrome/thread/185534985">https://support.google.com/chrome/thread/185534985</a>
845845

846846
<br/>
847847

848848
Blink binaries (Version 109.0.5414.75),
849-
[https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898](https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898)
849+
<a href="https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898">https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898</a>
850850

851851
</td>
852852
</tr>

File-Formats/PDF/Working-with-OCR/Troubleshooting.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ By using the best tessdata, we can improve the OCR results. For more information
180180
</th>
181181
<td>To resolve this problem, you should install and utilize Tesseract 5 on your Mac machine. Refer to the following steps for installing Tesseract 5 and integrating it into an OCR processing workflow.
182182
<br><br/>
183-
1.Execute the following command to install Tesserat 5.
183+
1.Execute the following command to install Tesseract 5.
184184
<br><br/>
185185
{% tabs %}
186186
{% highlight C# %}
@@ -356,6 +356,56 @@ Step 3:
356356

357357
{% endhighlight %}
358358
{% endtabs %}
359+
</td>
360+
</tr>
361+
</table>
362+
363+
## OCR not working on Docker net 8.0: Exception has been thrown by target of an invocation.
364+
365+
<table>
366+
<th style="font-size:14px" width="100px">Exception</th>
367+
<th style="font-size:14px">OCR not working on Docker net 8.0: Exception has been thrown by target of an invocation.</th>
368+
<tr>
369+
<th style="font-size:14px" width="100px">Reason
370+
</th>
371+
<td>The reported issue occurs due to the missing prerequisite dependencies packages in the Docker container in .NET 8.0 version.
372+
</td>
373+
</tr>
374+
<tr>
375+
<th style="font-size:14px" width="100px">Solution</th>
376+
<td>
377+
We can resolve the reported issue by installing the tesseract required dependencies by using Docker file. Please refer the below commands.
378+
379+
{% tabs %}
380+
381+
{% highlight C# %}
382+
383+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
384+
385+
`RUN apt-get update && \`
386+
387+
`apt-get install -yq --no-install-recommends \`
388+
389+
`libgdiplus libc6-dev libleptonica-dev libjpeg62`
390+
391+
`RUN ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.6 /usr/lib/x86_64-linux-gnu/libtiff.so.5`
392+
393+
`RUN ln -s /lib/x86_64-linux-gnu/libdl.so.2 /usr/lib/x86_64-linux-gnu/libdl.so`
394+
395+
396+
397+
USER app
398+
399+
WORKDIR /app
400+
401+
EXPOSE 8080
402+
403+
EXPOSE 8081
404+
405+
{% endhighlight %}
406+
407+
{% endtabs %}
408+
359409
</td>
360410
</tr>
361411
</table>

0 commit comments

Comments
 (0)