Posts

Showing posts with the label Fonts

Can I Convert Embedded Base64 Encode Font To A Font File?

Answer : Copy the base64 encoded part and convert it. There are many ways to do that. Linux base64 -d base64_encoded_font.txt > font.woff Mac OS X openssl base64 -d -in base64_encoded_font.txt -out font.woff WIndows Go to http://www.motobit.com/util/base64-decoder-encoder.asp and paste the text. Choose "decode the data from a Base64 string (base64 decoding)" and "export to a binary file". @mcrumley's answer is correct, but for those of you who can't figure it out and/or are afraid of the command-line, I have an alternate method. I just Googled your question, and found http://base64converter.com/ which can convert/decode (and encode) any base64 file back to its original format. I'd used it to encode and decode base64 images in this past, but this was my first attempt with a font. As a test I plugged in the embedded base64 font info I found in a random webpage's css file. You don't want the entire entry, leave off the css in...

Chrome's Fonts Look Off

Answer : On Windows 10 & Chrome version 52 I could not find any "DirectWrite" option in the experiments tab. However, I was able to resolve the issue by disabling a different experiment: Set "Accelerated 2D Canvas" to "Disabled" (In the browser's address bar, go to chrome://flags#disable-accelerated-2d-canvas , change the setting, relaunch the browser.) Since the fix for this issue has clearly changed, I would suggest in general turning off any hardware-accelerated text-rendering/2D-rendering features in the future if this fix stops working. On Google Chrome 55, this issue appears to have cropped up again. As anticipated, the fix was disabling hardware acceleration, it just changed locations. The new fix (for me) appears to be: Settings -> Show advanced settings... -> System UNCHECK "Use hardware acceleration when available" This worked for me: Open Google Chrome Open a new tab and enter the following in the ...

Change Default Font SSRS Visual Studio

Answer : Unfortunately by design, you are not allowed to set default font etc. There is active defect in Microsoft https://connect.microsoft.com/SQLServer/feedback/details/574003/modify-the-default-font-family-for-sql-server-business-intelligence-development-studio-while-creating-a-report# I know it's a very old post, but for others in search of an answer, I thought I'd add the following. If I want all my textboxes in a font other than Arial 10pt, I will make the first textbox and set my font styling, then use that as a master textbox, copying it and changing the interior text rather than creating new textboxes each time. It's a hack, but since VS still can't do this in 2015, it's the best we have. You can always open code(XML)-view and edit font properties there. Eg. search for <FontFamily> -tag and add <FontSize>10pt</FontSize> as a sibling for <Style>-tag. Before editing the XML, close report design-view. Otherwise propert...

Can't Delete Font Files

Answer : This Registry key manages fonts that the system knows about: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts I discovered in an older answer that removing a value of that key or changing a value's data to point to a nonexistent file will make Windows not see the font as usable. Therefore, if you remove the Registry entries that correspond to the fonts you want to torch (and then restart to make the system reload everything), you should be able to delete the fonts' files. If the above does not work on Windows 10, you can also STOP and DISABLE the following two services: Windows Font Cache Service Windows Presentation Foundation Font Cache 3.0.0.0 Reboot your computer, delete the font files, and re-enable the services by setting the Startup Type back to 'Manual'.

Algorithm To Implement A Word Cloud Like Wordle

Answer : I'm the creator of Wordle. Here's how Wordle actually works: Count the words, throw away boring words, and sort by the count, descending. Keep the top N words for some N. Assign each word a font size proportional to its count. Generate a Java2D Shape for each word, using the Java2D API. Each word "wants" to be somewhere, such as "at some random x position in the vertical center". In decreasing order of frequency, do this for each word: place the word where it wants to be while it intersects any of the previously placed words move it one step along an ever-increasing spiral That's it. The hard part is in doing the intersection-testing efficiently, for which I use last-hit caching, hierarchical bounding boxes, and a quadtree spatial index (all of which are things you can learn more about with some diligent googling). Edit: As Reto Aebersold pointed out, there's now a book chapter, freely available, that covers this same terri...

Any Good Way To Get The New Menlo Font On Windows?

Answer : This may be a bit of a workaround - but the font is very similar to Bitstream Vera Sans Mono. Here is a comparison ( updated link ) of Menlo and Bitstream Vera Sans Mono DejaVu Sans Mono (also based on Bitstream's original). You can download the Bitstream set absolutely free (zip file). this font https://github.com/andreberg/Meslo-Font is designed to be similar to Menlo I have found a github repo. Try here https://github.com/hbin/top-programming-fonts Hope this helps.. :)

Calligraphic E (not \mathcal)

Image
Answer : Try doing: \documentclass[12pt]{article} \usepackage{mathrsfs} \pagestyle{empty} \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} \begin{document} The sample space is $\mathpzc{E}$. \end{document} See The Comprehensive LaTeX Symbol, page 68 for a pretty complete list of math fonts available and how to get to typeset them. You can also check A comprehensive review of mathematics in (La)TeX, page 95 onwards. There's also The LaTeX Font Catalogue - Calligraphic and Handwritten Fonts. You can try rsfs: The code \documentclass[12pt]{article} \usepackage{mathrsfs} \pagestyle{empty} \begin{document} The sample space is $\mathscr E$. \end{document} produces