Increasing font size
Dear all,
I have been using notepad++ so far, i am newbie to phpdesigner 8.0
The font size (text) of my editor is so small.
Do any one help me to increase it?
Thanks in advance..
I have found the Way to do it. Try the following steps!
Steps to edit the textsize in phpdesigner8.0 editor
go to : tools > preferences > editor ..you will see loads of options from here.
From there, click editor button within all the options on right side
and there you can change size. font family etc.
You could also do it with Ctrl + E
Related
The screenshot on the Atom.io site shows, that the editor has vertical lines which show how much a line is "tabbed" in. I wonder if this is an additional package or if it can be enabled in atom by default.
Open up your settings panel, usually by selecting the Preferences option in the Edit menu. Inside there, select the Editor submenu. In the Invisibles section, select the option titled Show Indent Guide. The vertical line indentation markers will then appear for you like in the image.
On atom version 1.40.1 (Windows), Goto File -> Settings -> <>Editor -> []Show Indent Guide
It's a little different in Windows version v1.40.1
Settings > Editor > Show Indent Guide
First, type ctrl-shift-p, open the Command Palette.
Then enter 'indent guide'. Select Editor:Toggle Indent Guide.
If you additionally want to customize the soft wrap vertical line…
Settings and Preferences → Editor → Preferred Line Length (or via customization file).
Result
Please note the guideline now displayed.
as you can see in the above i'm trying to change my textView's font , but it didn't changing i searched some related terms on changing for like this one
and this , but nothing worked for me
i'm also not sure if this is the correct name of my desired font or not
titleTextView.font = UIFont(name: "Myriad-Condensed", size: 25)
even in this site they dont have anything related to my desired font which is Myriad pro Condensed according to storyboard's attribute inspector
anyone faced anything similar to this before ?? or any clue what i should do ? then please let me know
First you need a font to use. Download any of them in you cass its right here : http://ufonts.com/fonts/myriadpro-cond.html
After downloading drag & drop the font file (otf or ttf) into your project
Make sure you check the box next to your target or the font won’t actually get included in your app (even though it’ll probably show in Interface Builder).
Open up the Info.plist . Add a new array of strings to it: “Fonts provided by application”. Add the filenames for each font you want to use as String entries in the array. (That one ttf file you just added to your project )
Now you're good to go , select that font once again like you did in the attached image.
For more detail see this article https://grokswift.com/custom-fonts/
I added my two fonts to my project folder:
I added them to info.plist:
I can not see them in my custom font list in the storyboard:
What have i done wrong?
I know this is a pretty old question, but I ran into the same issue. And the above tips didn't work for me. Apart from the standard checks (present in bundle, restarting XCode, the thing that fixed my issue was that my label text type was marked as "Plain" and hence some fonts were not showing in the dropdown in the Storyboard. As soon as I changed the text type to "Attributed", all the fonts appeared in the dropdown.
Hope this'll help someone stuck with the same issue.
This drop-down box shows the system-wide installed fonts. So you need to install your custom font on your system first so it's appearing in that drop-down box. You can do that by double-clicking it, the FontBook.app opens and asks you whether you want to install the font.
This was a huge headache for me but I simply fixed it by:
I fixed the issue by restarting my Mac.
Then restarting Xcode.
I Installed the font in the system as per DarkDust solution and i am able to see the font in attributed type.
Then i changed the type to plain and i able to see the Custom font in the font types drop down.
Had the same problem but this SO answer by user Saranjith solved it while the other solutions in this thread didn't: Xcode 8 custom font doesn't show up in interface builder
Basically in Font Book select "Computer Fonts" and then hit the + button and re add the Fonts.
This is happened to me after moving to Xcode 11 in Catalina from Xcode 10 in Mojave.
Well, silly mistake on my part, but I didn't realize my font was named something way different from the file name.
Double-clicking the actual font file opened it in the font book, and that showed the actual font name. It was in the dropdown all along.
I solved my problem when i used font name. Do not use file name. I was used like this [UIFont fontWithName:#"appFont" size:17] but it is wrong.
Upload your font file to https://fontdrop.info/ and use the name
My font file name is appFont.ttf but when i uploaded i saw Roboto Regular.
[UIFont fontWithName:#"Roboto Regular" size:17]
Sometime I go to another file and come back, then my custom fonts are arrived. I think this is an issue of Xcode and will be solved in following version.
In my case I just turn the text from plain to attributed then turn it back again to plain then it showed up., hope this help anyone.
I ran into the same issue and fixed with below steps
Closed storyboard
Cleared derived data
Cleaned the project and open the story board
If this is not working then restart the Xcode.
Thanks
For me it was case sensitive issue with the font file name. Not sure if it's always for this reason...
In my case my fonts were in woff2 formats. Although woff2 is supported in iOS, the fonts don't appear or get rendered in Storyboards.
If Xcode showed your custom font before but stopped to do it at some moment, try to readd font files to your project. It solved the problem for me. Other answers weren't helpful.
Within XCode 6.1.1 I'm unable to change the font on my label within my storyboard. I can set 'Text' to either 'Plain' or 'Attributed', but then [T] next to Helevetica Neue 17.0 appears grayed out, and it does not do anything when I click it. This happens in all of my projects.
Screenshot here: https://i.imgur.com/3VOSsVn.png
Thank you!
Edit: Unfortunately none of the answers below have answered my question yet. The [T] is unclickable.. it is grayed out so I can't change the Font to custom under there. And while I could go in and enter code to change the font, I would prefer to do it through the GUI.
This problem was driving me crazy - your workaround works for the normal storyboard, but not for the Watch storyboard which has a custom fonts popup.
I finally found this page:
https://github.com/synergy/synergy/issues/4109
It's a bug with using Synergy - I connected a USB mouse to my Mac and when I click the font "T" icon with the USB mouse, it works!!!!
Actually, you have to first select a syntax category in the detail area. You can press CMD+A to select all categories. Then you can click the "T" and select a new font.
See here: https://developer.apple.com/library/ios/recipes/xcode_help-fonts_and_colors_preferences_help/Recipe.html
In the "font", change "system" to "custom”
You can set font for labels in two ways- programmatically and in storyboard.
In your storyboard, you need to click the little T and then select the wanted font.
In your code, assuming you already set the appropriate IBOutlets, you can use something like
[self.theTextLabel setFont:[UIFont boldSystemFontOfSize:17.0]];
Tap on the "T" sign next to the already assigned font, then change "system" to "custom”. Once the settings are on custom the font can be changed as well as it's weight (ie. light, bold...)
I did find a workaround... I can bring up the font menu by crtl-shift-opt-T and change the font there and changes I make are reflected on the page... but the [T] is still still grayed out for some reason.
How do you zoom in to see code better in xcode. I'm looking for a shortcut, and not to change the projects display preferences. Also using CTRL + two fingers on mouse is not suitable as I'm using a multi-monitor set up and that zooms both monitors. I only want to zoom in on the code text. I found another solution here that allows zooming on the storyboard : Storyboard Zoom In/Out Keyboard Shortcut but this doesn't work on any of the code files.
Any ideas?
For XCode 9 and above:
Use Cmd + + to increase text size
Use Cmd + - to decrease text size
I'm using xcode 7:
1. Xcode menu-> Preferences.
2. Choose the tab Fonts & Colors.
3. Choose theme on the left side.
4. On the right side cmd+A to choose all type of source.
5. In font field, click to T icon.
6. Choose a font size that you want to set.
I needed to install a plugin to have the functionality - This is the plugin https://github.com/zats/AdjustFontSize-Xcode-Plugin
Click two times on the screen and drag left or right
In Xcode 7.2 you can change the font size and colors on Xcode menu (preferences).
Option (⌥ alt) + mouse scroll wheel works for Xcode13.2.1 on mac to zoom in/out in the storyboard.