I want to run IDEA in WSL(windows subsystem for linux) so I followed wsl-tutorial. But I don't want xfce4 desktop because costs performance, so I just install needed GUI packages and run IDEA succussfully. But unfortunately I can't type Chinese in it using Windows-pinyin IME, so I have to install xfce4 and fcitx-pinyin then it works.
Is it possible to type Chinese into VcXsrv(or other X Server) using Windows-pinyin IME? VcXsrv support clipboard so I think it's possible to do that.
How to install Elixir SDK on IDEA 15.0.3 in Windows 10 ?
[
"That selected directory is not valid home for Elixir SDK"
I got a "Corrupted SDK" error when selecting the Elixir directory instead of the Elixir/bin. Since it worked for my Elixir 1.1.1 install before I updated, there is likely a different different format to the elixir --version for 1.2 than 1.1.1. This was the case for Elixir on OSX (using homebrew) and Linux. I'm guessing the output is another format for Windows 1.2. Please open a bug https://github.com/KronicDeth/intellij-elixir/issues/new and I'll figure out why Windows' format isn't matching.
Hi I am trying to take screenshot of a Google page with Arabic keywords using phantom js but on jpeg image Arabic font is missing, boxes are coming instead.
Phantomjs version - 1.9.7
Centos 6.5
Steps I followed to solve this
1. Checked if Arabic Support is available:
yum grouplist
2. Then if available install arabic support:
yum groupinstall 'Arabic Support'
This solved the issue.
I'm using Tess4J (JNA wrapper around tesseract), and trying to call tess.doOCR(myFile) to OCR text from a single-page PDF.
I have GhostScript installed (by using yum install ghostscript), gs -h works correctly.
My app server is using 64-bit JVM, and I have gsdll64.dll, and the 64-bit tesseract dll's liblept168.dll and libtesseract302.dll in the class path.
When tess.doOCR(myFile) is called, this is logged:
GPL Ghostscript 8.70 (2014-09-22)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
But then it just stops there. The program doesn't go any further.
UPDATE --
It looks like the real issue is from this error:
java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract': Native library (linux-x86-64/libtesseract.so) not found in resource path
After looking around a lot, I don't see a convenient place to find this libtesseract.so file, and I'm not sure what it takes to get this onto my Linux app server. I read that maybe I need to download some C++ runtime, but I don't see a Linux download for that. Any advice would be much appreciated.
Or is this something to do with a symbolic link?
The Fix was simple for me,just do sudo apt-get install tesseract-ocr from the command line. For linux you dont need to worry about the DDL librarires or the jvm version. Installing tessearct from apt-get will do the trick.
Those DLLs are for Windows. For Linux, you'll need to install or build from Tesseract source.
That GS version, 8.70, is quite old. The latest Ghost4J library that Tess4J uses is not compatible with that.
Tess4J should include required libraries. However, you need to extract them first.
This should do the trick:
File tmpFolder = LoadLibs.extractTessResources("win32-x86-64"); // replace platform
System.setProperty("java.library.path", tmpFolder.getPath());
You should replace the argument of extractTessResources(..) with your platform. You can find possible options by looking into the Tess4J jar file.
This way you need not to install Tesseract on your system.
Recently I wrote a blog post about Tess4J in which I used this technique. Maybe it can help if you need further information or a running example project.
sudo apt-get update
sudo apt-get install tesseract-ocr
download test data by git
https://github.com/tesseract-ocr/tessdata
I've found some tools that can convert PDF to SWF, but I'm hoping to find something or even a library to be able to be able to incorporate this on the server to be able to store the SWF in a database.
Have you tried SWFTOOLS? On Debian/Unbuntu:
sudo apt-get install swftools
pdf2swf filename.pdf
http://wiki.swftools.org/index.php/Examples#pdf2swf
They have a Windows version, and the source so you can compile it on other Linux flavors.