What is default fallback font of FoxIt Reader on linux - linux

I'm making a PDF and I don't want to embed fonts inside it.
When I used Tahoma Foxit Reader substituted it for some default font on linux.
What is this font?
What font should I use so the Foxit Reader will not have to substitute font?
Installing fonts is not an option since the Client should be able to view this PDF on linux without having to install some fonts and stuff. Can't embed whole fonts since the PDF grows from 100KB to 1000KB then, can't also embed subset of font because used component doesn't allow it.
I want to know this font since I use EASTERN_EUROPEAN charset for special chars in PDF and when the font is substituted it falls back to some default charset and the special chars are trash. So I guess if I set the font to default fallback one + my charset, it should be ok.
Please someone tell me the default font that is used in Foxit Reader.
Thanks

Related

PostScript - Generate text using uninstalled fonts

I want to generate text using postscript and some font file. I can convert the font to whatever needed font type necessary. The catch is, I can't install the font on the computer - there are certain limitations on the computer that would be way to long to explain, just know that the end result means that I can't install the font.
I am aware of the fact that t42 fonts are generated as a glorified eps file, however, I am not looking to simply append the font to the file - I have more than 1 font I am doing this to.
Are there hacky work arounds for the end goal?

Non-ascii characters get ignored in Godot lable text

I was working on a Hello World scene of Godot.
Instead of using "Hello World" as demonstrated in the tutorial, I tried something like "你好世界", but I found that it didn't work. Anything non-ASCII that I typed in the label text input got ignored.
How can I use non-ASCII characters in Godot labels? Or is it supported at all?
The default Label font in Godot doesn't support non-ASCII characters.
You can try to change the font in your Label node to one that supports non-ASCII symbols by picking a font from your computer, or if it doesn't exist on your device, uploading it from some site like Google Fonts.
After choosing the font for your Label node, open the Custom Fonts property in the editor of the node, and create a DynamicFont, and in Font => Font Data press Load and choose your font in the opened window in the file system (.ttf or any another font extension).

Eps to svg, special character not converted

I'm trying to convert an eps (created with Mathtype) to svg format.
I don't have any problems with math characteres, but I'm unable to get any special characters (aka àâä...)
I have tried on unix and windows, and none of those works.
The font used is Arial, and is installed properly(Default on Windows, manually added in fonts folder in unix)
I have oppened the Arial font in windows font manager and the non working character are in.
They just aren't converted.
Actually, to convert I use Inkscape (with ghostscript) like this :
inkscape -z -f in.eps -l out.svg
Thanks in advance,
Edit :
Added in.eps file
https://pastebin.com/vBtUVy69
The fact that you have installed Arial on your Windows box has little to do with the problem.
Does the EPS file include the embedded Arial font ? If not then you are dependent on font substitution. You should probably post a sample EPS file so that we can look at it.
My guess is that the Arial font is not embedded, so Ghostscript substittues Helvetica, and the Helvetica font doesn't have those glyphs, or they are not encoded at the character codes which the EPS file thinks they are.
[EDIT]
The EPS comments say DocumentNeededFonts: Arial-BoldMT", so the EPS does not include the font and you get font substitution.
I can't tell you immediately why the SVG says Arial. I can guess, but in the absence of a complete description as to how you are producing the SVG I can't (obviously) be sure.
Now... if the conversion path uses Ghostscript's pdfwrite device to create a PDF file from the EPS, and that PDF file is then somehow converted to Inkscape's internal format (or directly to SVG using something other than Ghostscript) then what is happening is that Ghostscript is substituting Helvetica for the missing Arial-BoldMT and when it produces the PDF file it embeds the Helvetica font, but calls it Arial-BoldMT (or whatever). That's a consequence of the font substitution, the font that gets substituted gets renamed to the expected name.
I think you can avoid that by setting -dEmbedAllFonts to false, though I haven't tested it. Even if you do, all that happens is that the PDF file then doesn't have the font, just the same as the EPS file. So the SVG creation will (presumably) have to use a substitute font instead. All you do is shove the problem further down.
The correct answer to this is 'always embed fonts'.
You can also make the Arial-BoldMT font available to Ghostscript by editing its fontmap.GS file in ghostpdl/Resource/Init for builds where the resources are not built into a ROM file system. For builds which do use a ROM file system (eg Windows) you must pick up a copy of the Resources (from the Ghostscript Git repository), modify the fontmap.GS file and then tell Ghostscript to use the modified resources by pointing to it with the -I switch.
This is still a hack, because its a TrueType font being used as a replacement for a PostScript font, so there's a certain amount of guesswork going on inside Ghostscript, but it usually works well enough, YMMV.

Flash CS5 - How to change anti-aliasing on all text containers in an animation

Is there a quick way to change all text containers so that the anti-alias setting is "Use Device Fonts"?
I am using Flash CS5, and need to convert about 300 animations, each with 20 or more text boxes, so that they use device fonts. This is necessary so that we can more easily display traditional Chinese characters.
I can go through each text box, change the font to _sans and it automatically switches to Use Device Font - then I don't need to embed the font files. So I tried to use the Find and Replace tool to change the font on all text boxes. It worked fine at changing the fonts, but it did not auto-switch the anti-alias. Any help on this would save hours of work.
Thanks.
Hopefully you're not too far into your work on this one, but there's a new development with CS5 that will help you with just this. It's called the .xfl format, and all .fla's are actually this format, but zipped up. Have a read here for more info: http://blog.theflashblog.com/?p=1986
What this means is you can convert your fla to xfl (or just change the suffix to .zip and unzip as the above article suggests), and do a Find&Replace on all text field font values.
Hope that helps!

How can we check that what font the browser is using?

I have used font-family in css as simsun. But there is no font in my system called simsun but I have to know what the font is taken by a browser to display.
Try cutting and pasting into word (or another word processor), and then look at what font word is using.
It depends on browser. But you can set list of fonts in your css-file:
font-family:'Lucida Grande','Verdana',sans-serif;

Resources