External fonts not available on XIB - ios4

Hey friends, I've added a font file (.ttf) in resources folder in XCode 4 and also in info.plist. I am able to use those fonts via code. But those fonts are not available on XIB i.e. font name appears in the list but its not getting applied onto UI components (some default font style gets applied). Any idea on this?

I found that we've to create IBOutlet for components whose font style we want to change.
Custom fonts does appear when we edit text in xib, but they don't get applied at runtime.

Related

Resizing the actual Tabs in a (Godot) TabContainer, is it possible?

Given some Tabs in a Godot TabContainer, I'd like to resize the actual Tab-elements (not the container they're a part of.
Given that so many things are customizable, it seems like these would be too, but so far I haven't found how. The question How to resize a Tab, sounded promising, but the "Custom Style" that it referred to, doesn't seem to exist - or at least didn't appear in a help-search.
Update: The given answer got me closer. There's a lot of variables, it's definitely not production-ready, but it does at least, appear possible to modify the size of Tabs. And just realized that one of the variables is Content-Margin, I had edited just Margin, to create this picture.
You have to learn about themes in Godot to resize your elements.
In the editor select the TabContainer, in the Inspector search the Theme property, and in the Theme variable below you can load a theme or create a new one for your project.
If you create a new theme there will be a file with a extension ".tres". Double click on that file to edit the aspect of different elements for your project.
I will try to add more detail. If you edit your theme file ( .tres), with the Type: TabContainer, you can override the multiple StyleBox of the Tab. I tried with the tab_fg, click on the plus sign, later in [Empty], New StyleBoxFlat, click on the new StyleBox Flat created in the field, and edit it in the Inspector. Edit the Expand Margin values, and also the Content Margin values.
You can also increase the font size, overriding the font with a New Dynamic Font, selecting it and editting it in the Inspector, in settings-> Size.
You can find further info in the UI tutorials section on GUI skinning

How to disable ligatures in fonts in Flutter

I have a custom font, in which my "fi" is replaced with "r". Do you have any idea how to disable ligatures in my fonts in Flutter?
If you've followed how to add custom font in your entire Flutter app, there shouldn't be any problem.
Flutter works with custom fonts and you can apply a custom font across
an entire app or to individual widgets. This recipe creates an app
that uses custom fonts with the following steps:
Import the font files.
Declare the font in the pubspec.
Set a font as the default.
Use a font in a specific widget.
If this is not the case, try to provide a a minimal, complete and verifiable example.

Previewing icon font WITHOUT css

I need to view an icon.ttf (svg,woff,eot,whatever) font file. I do NOT want to create CSS to do this. There are hundreds of icons and I need to look at them quickly. Is there anything I can use to open the font file?
The only responses are along this vein: If I have a generated icon-font as TTF, can I tell which CSS content-property belongs to which character? and include CSS - that is NOT what I am looking for. I want to preview the file NOT through manual entry using CSS (or SASS, etc).
I am assuming this cannot be done since I havent found a decent answer. If you have the knowledge for how to preview an icon font, please share!!
You could use the Character Map tool in Windows. Just select the icon font and you can preview the entire list as well as the corresponding css codes.

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.

How to add custom font in .xib?

I added a custom font in info.plist.But it worked only when programmatically changed.it doesn't change when tried through interface builder by changing the object attribute section. for example i used UILabel then i choose the custom font in the attribute section but it did not change the font style.
install the "Harrowprint" font by double clicking the file and also add it in my project resource file.
thanks in advance,
Senthilkumar
There doesn't appear to be a way, but there are some attractive work arounds.
Using custom fonts in interface builder

Resources