Skip to content

August 2020

Use Python pacakge Pillow to convert font files to PNG images

Last Updated on 2020-08-26 by Clay

Python is the most popular programming language!

Introduction

Today, I need to plot font files in PNG format and save it, which sounds like a rare requirement. After browsing on the Internet, I found that it can use ImageFont module of Python package Pillow to solved.

At the beginning, I wanted to use the Python package fontTools to solve the problem, but later I found that the Imagefont module in Pillow was better.

Read More »Use Python pacakge Pillow to convert font files to PNG images

[Word] Paragraph setting "Left and right alignment" The last line is scattered, and the punctuation marks the problem

Last Updated on 2021-08-06 by Clay


Introduction

When using Word to write a paper or report, sometimes due to existence of both Chinese and English in the content, or font typesetting issues, some paragraphs will appear to wrap early. As a result, our typesetting will appear a little messy.

Read More »[Word] Paragraph setting "Left and right alignment" The last line is scattered, and the punctuation marks the problem

[Linux] Double-click to execute shell script and add it to the dock bar

Last Updated on 2021-08-03 by Clay

Sometimes if we want to execute a shell script on Linux, we need to open the terminal and give the command —— it's too slow! If we often need to use this file, for example, the startup file of an application, we may become very anxious. This is why I am looking for how to double-click to execute a shell script on Linux.

Read More »[Linux] Double-click to execute shell script and add it to the dock bar

Flutter study notes (0) How to install Intellij IDEA

Last Updated on 2021-08-02 by Clay

Everyone who knows how to write programs has thought about writing a mobile phone App. Of course, I am no exception. I have tried to write Unity games, use Java on Android Studio to write invoice recognition and rewards, and even use my only Ipad to practice writing Swift. After that, I always wanted to learn Flutter on the recommendation of my friends. So, today's purpose is to record how to download and install Intellij IDEA to develop Flutter apps.

Read More »Flutter study notes (0) How to install Intellij IDEA

[Python] Use PyCharm to connect to the Python interpreter of the remote server

Last Updated on 2021-08-02 by Clay

There is a most important thing I want to remind before I start: to use the Python interpreter of remote server requires the professional version of PyCharm. The community version has no way to configure the remote Python interpreter. (If I make a mistake, please feel free to tell me.)

Read More »[Python] Use PyCharm to connect to the Python interpreter of the remote server
Exit mobile version