How printing source code in Android Studio bigger? - android-studio

I often would like to print my code to make annotations to the code on paper
I choose File -> Export -> Files oder Selection to HTML choose ->
open generated HTML in browser
...
Then I mark the complete code in browser and choose right-click Print
but the text size is too small
how can I set the text size bigger without losing the Android Studio formatting?
Any help?

Now I'm using the standard print window File - -> Print
and change font to Trebuchet MS and size to 8 and set
orientation to landscape - now it works without exporting html
works better for me

Related

Multiple Language Support Not Working in TextMesh Pro

I am currently using TextMesh Pro. While Input other languages in input field, its shows white boxes. Its work fine while typing English alphabet and use other languages font in input field.
Here's the screen shot of the following error..enter image description here
Here typing "hello" in English working fine in "Chinese" but if a input Chinese alphabet, it shows white boxes.
I also tries to make font asset as unicode, but its still not working. I am currently using unity 5.6.2
I faced the same problem, this is the process I went by, to solve it for me:
1. I found this very helpful,
2. Digital Native Studios Font Asset Creator was where I made my mind how to do it
3. head to Google Fonts, I chose Cyrillic in language selection section and downloaded the zip file, and extracted all in this folder: "\Assets\TextMesh Pro\Fonts"
4. I got to Window menu from menu bar of unity, then to TextMeshPro there, and from the next cascading menu I clicked "Font Asset Creator"
5. There it was straightforward thanks to its Author, I simply chose my font, then from "Character set" I chose "Unicode Range (Hex)", also, before that I googled "unicode hex range Cyrillic", and I knew that it's "0400-04FF" range and finally clicked "Generate Font Atlas" there
6. After saving I got back to unity, in Canvas I selected my TextMeshPro Text component, from Font Asset I found and selected the SDF file that was generated (easy to find by name), and also from "Material Preset" bellow that I selected the related (same name) material. I typed text in Cyrillic and magically everything worked!
I hope this helps and will be happy to help further in what I can.
Edit
This youtube clip maybe helpful too
Step 01: Download Font
open the link https://fonts.google.com/ . Click right on corner Browse fonts click. and type the font in search box.
Font List
Noto Sans [find On Google fonts]
Roboto [find On Google fonts] 3)
Code2000 [But it's not open source.]
Futura
Arial
Download Family for your favorite font.
Step 02: Install TextMeshPro plugin
from Package manager. After copy the font file NotoSans-Regular.ttf and paste to this directory. [Ex. Asset > TextMesh Pro > Resources > Fonts & Materials > paste NotoSans-Regular.ttf file]
Step 03: Create SDF for font. if any one
Select NotoSans-Regular.ttf file and create font asset SDF from menu bar Assets > Create > TextMeshPro > Font Asset OR
Short Cut-> Shift + Ctrl + F12 OR
Select NotoSans-Regular.ttf file and click mouse right button and create SDF from Create > TextMeshPro > Font Asset
Step 04: Add Other font SDF in to your primary or existing font SDF.
Select primary font SDF and show the inspector go to Fallback Font Assets. Added the NotoSans-Regular SDF in to Fallback list. [Multiple fonts added in to primary font SDF]

Open in landscape an .xls file with 21 tabs of default portrait

I have a server generated report in Excel .xls version, 21 tabs with data, portrait mode, .5 left and right margins. I want to open the file in landscape mode with .0 left and right margins using MS Excel 2013.
I have tried creating a Book.xltx file, but that only seems to work with a new file and not work when opening an existing file.
How can I do this?
Honestly I don't fully understand what you are asking.
However, be aware that you can click and select all 21 tabs and change the print settings (including margins and portrait/landscape) mode all at the same time.

Embed a font into PDF form

I have a PDF form generated by LibreOffice. Since to a known bug in LibreOffice only a font subset is embedded into PDF even when the font is used in form fields. Therefore the form is not usable or form fields are using a wrong front (depending on PDF viewer) if the font is not installed on computer.
So I have to replace form subset in PDF form by whole font after generation in LibreOffice. Normally using ps2pdf or gs is recommended to fix a font issue in a pdf. But both programs don't support PDF form. If using them on a PDF form the form fields are broken. I tested it with Ghostscript 9.10 under Unbunt 14.04 LTS.
I can use pdffonts to show fonts embedded in PDF. But is there also a command-line tool to embed another font into a PDF?
Libreoffice v5.2 embedding fonts for forms fields is easy:
Enable the font in the form field:
() Right-click form field > Control > Font
Then tell your document to include the used fonts into its file:
() File > Properties > Font tab > Embed fonts into document
In my case filesize increases from 50k to 5000k (using one font
with two styles).
At last check PDF options to include fonts into pdf:
() File > Export to Pdf > General tab:
x Enable Create PDF form (to make the form fields fill-in ready to the user).
Not shure whether both of the following options are needed:
x Tagged PDF and
x Hybrid PDF: The later will enlarge pdf to the size of the LibreOffice file.
Until the bug gets resolved, you can use PDF Toolbelt to fix your forms.
After downloading the JAR file, the font of all fields can be reset to the default values of Adobe Acrobat:
java -jar ./pdf-toolbelt.jar form-font-defaults input.pdf output.pdf
Disclaimer: I'm the author of the above-mentioned tool.
This is just a workaround: place a text edit field on the page that is invisible and locked which contains a default string of your likely character set. While you will still get a subset font, it would be a substantially larger subset.
There are a number of commercial solutions that can fully embed a font in a PDF, if a commercial application is a viable option in your case (they will be expensive to "just" do this probably). The two major contenders are probably callas pdfToolbox (caution: I'm associated with this product) and Enfocus Pitstop.

Changing font of text inside an extension library dialog box?

How do you change the text within the extension library dialog box? No matter what I do, the text remains the same size. I can see the font change in the designer cleint but not in the browser. I tried looking at it with IE Developer Tools but I can't even see the text anywhere.
I have no idea what was going on yesterday but it just wasn't working. I was simply trying to set the text size of a computed field inside a dialog box. I changed the font size in the properties of the computed field and seems to work now, We have seen these issues on our dev server before.
I am not sure if you can change the text with text options but you can if you use HTML, and it should also work with CSS.
Standard <h1><h2><h... oh you get the idea works for me.

In Microsoft Visual Studio 2005 is it possible to set the size of an edit window when opened?

I have a very large monitor. When I open a text file in MSVC, the file defaults to a width of about 80% of my screen space. For most bits of code that's about twice the size I need. Is there a way to set the default size of a newly opened file?
In the regular paned UI you can choose to split the code window horizontally or vertically, try that. You then get two code windows with each their own tab bar.

Resources