[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Fonts Typography

16K

Solutions

19K

Contributors

A font is a particular size, weight and style of a typeface. Each font is a matched set of type, one piece (called a "sort") for each glyph, and a typeface consists of a range of fonts that share an overall design. With the advent of digital typography, font is frequently synonymous with typeface, although the two terms do not necessarily mean the same thing. In particular, the use of "vector" or "outline" fonts means that different sizes of a typeface can be dynamically generated from one design. Each style may still be in a separate "font file" -- for instance, the typeface "Futura" may include the fonts "Futura roman", "Futura italic", "Futura bold" and "Futura extended" —- but the term "font" might be applied either to one of these alone or to the whole typeface.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi. I am trying to change the font, the font size and color of a cell in an excel worksheet from my vb.net application.

The first two lines of code run without errors but do not change anything in the cells. The third line, to change the color, gives me the following error at runtime: "System.Runtime.InteropServices.COMException: 'Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))'"

The workbook is open to not read-only and is editable, in fact, the same cells will add values.

Here is my code:

'Format formula cell to match font and size of existing cells
                ForcastWorkSheet.Cells.Range(strRange).Font.Name = "Arial"
                ForcastWorkSheet.Cells.Range(strRange).Font.Size = "9"
                ForcastWorkSheet.Cells.Range(strRange).Interior.Color = "Orange, Accent 2, Lighter 60%"

Open in new window

0
Microsoft Azure 2017
LVL 12
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Can you please help me work out why the font-face fonts are not loading?

http://bs.petewinter.com/fonts2/demo.html

Console log says...

Failed to decode downloaded font
OTS parsing error: invalid version tag

but I'm not sure how to resolve?
0
Hi All,

I have a very basic Windows based .net application in which I have used messageboxes.  How can I determine/know the font of the messageboxes ?

OS used : Windows Server 2008 r2
0
Next are elements I use to upload images. File uploading form to browse for file, then to select the file and to confirm the selection with "open" button. Upload button, which will start the upload with redirecting to php file. And "span" element which will display selected image file.

<form id="avatar_form" enctype="multipart/form-data" method="post" action="loadbackImg1.php">
            <label class="custom-file-upload"  >
            <input  type="file"  id="fileUpload1" name="loadBckImg" ></label>
             <input class="Btn2"  id="fileUpload1Btn" type="submit" value="Upload" > 
      </form><br>  <!---->                           
    <span class="upload-path1"></span><br> <br>

Open in new window

Next is the explanation of procedure and why I am using "span" element. On change event of file upload window-form, it will set ".files[0].name ". File upload window does't have any value when form is opened first time. When file is selected and confirmed the selection value ".files[0].name " is set unconditionally and displayed in "span" element. That's why upload button gets red font for "load" caption to notice user that everything is ready to click on button and to start the upload.
function fileUploadF(){
   span[0].innerHTML = document.getElementById('fileUpload1').files[0].name;
   document.getElementById('fileUpload1Btn').style.color="#5e80ad" ;
}
document.getElementById('fileUpload1').onchange=fileUploadF;

Open in new window

But user my then decide that he would prefer not to upload the selected file this time and to do other operations on the currently opened page. In this case "span" has to disappear and upload button caption color to return back to previous color on any click on page. Next is code does this:

window.addEventListener("click", function(event) {
   if (span[0].innerHTML){
    span[0].innerHTML = '';
    document.getElementById('fileUpload1Btn').style.color="#B2BABB" ;
   }
});  

Open in new window

0
Need to find a font with a drop and be able to change the color.  Attached is a jpeg with an example of the font that I'm looking for.  I need to use this font on other pages.
Front_menu.jpg
0
ASP.NET Web form app with VB.NET back end code.

Is there a way in the RowDataBound event in VB.NET to change the Font used for just a single column in the GridView control?

I have a GridView bound to a data source and for the a single column only in the GridView I want to use the Wingdings3 font so I can put the triangle symbol in that column.
Example of label/legend on form:
Wingdings3.PNG
Here is my code that I just started changing the first nested IF.  The line I added for the Font change is incorrect syntax.  What would the syntax be?
I don't need to do it at the cell level necessarily if there is a way to change the whole single column to that font too, that would work as long as the header for that column would not change or could be blank:

    Public Sub OnRowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GridViewHierachical.RowDataBound

        If e.Row.RowType = DataControlRowType.DataRow Then
            If e.Row.Cells(1).Text = "Delayed" Then
                e.Row.Cells(1).ForeColor = Drawing.Color.Red
                e.Row.Cells(1).Text = "p"  ' <== Wingdings3 character used to produce a down pointing solid triangle
                ' Change the font for column one to wingdings3 ==>  GridViewHierachical.Columns(1).DefaultCellStyle.Font = New Drawing.Font(GridViewHierachical.DefaultCellStyle.Font)
            End If
            If e.Row.Cells(1).Text = "Potential Early" Then
                

Open in new window

0
I am running Windows 10 on my computer.  I have two excellent photo editing programs (Corel Paintshop Pro 2019 and Cyberlink Photo Director 9).  They are both a lot more than I need, but Microsoft stopped supporting their simple photo editing program so I had to move on.   I am trying to insert a text layer over an existing image.  The image has a pale pink background, so I need to have the text layer be transparent.  I can't figure out how to do that.  Both programs allow me to insert text, but neither allows me to select the font I want (even though the font is listed in the drop down font selection menu).  Can you please help … or direct me to a simpler program that will allow me to do this?

Thanks,

Phil
0
ASP.NET Web form with VB.NET.    I have legend on the form.  I tried using the Wingdings3 font.  It looks fine in design view.  When I run it in IE11 it does not show in the Wingdings3 font.  It just shows the letter you use instead.  

So I thought I would try an imagebox control.  It will not browse to the image folder of my project for some reason.  So I dragged/dropped the image from folder to design view.  Again it shows in design view, but does not show at runtime in IE11.

The method I prefer to use as it is the easiest and looks best is to use the Wingdings3 font.    
How do I get it to show at runtime?

If there is no other way, then I guess I will use the image.  I'm guessing it will not be transparent around the symbol - :( .   It has a border around it too.   :(
How do I get rid of the border and get it to show at runtime?

Here is what it looks like in the designer.  The symbols on the left are the images (made using the Windows Snipping tool on the Wingdings).  The symbols on the right are the Wingdings3 font:
Design.PNG
Here is what it looks like in IE11 at runtime:
Runtime.PNG
Thanks,
0
I have this huge and annoying problem. It happens most of the time when I try to go to a web site or just right now when I clicked on ask a question on this site the page opens up in a huge fonts and everything looks too big till I click F5 then things are normal. Can someone help me please?
0
Hey everyone,

Does anyone know what I can change the RDWeb login page font size?

I would like to increase the font size for the password change notification

RDWeb password Text size
0
Become a Microsoft Certified Solutions Expert
LVL 12
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

I'm using Windows 2007. When I hover over the programs shown in the lower bar, a thumb pops up describing it, and sometimes thumbs pop up for all of the programs down there, as shown in  the attached image. How can I change the font used in the title of these thumbs? The small  white text is too hard to read.

Program thumbs
Thanks
0
Hello,

I am converting Crystal Reports to BI Publisher.  BI Publisher uses MS Word for the visual display.  I am extremely inept at look and feel.  Attached you will find 2 samples of text. The crystal uses Arial 8 for these labels.  When I use Arial 8, in word it does not display the same amount of text.  

What font would you suggest to get the same look and quantity of letters in .

Thanks in advance,

Brock
BI-PUBLISHER-FONT.PNG
Crystal-Font.PNG
0
I was wondering that is it possible find specific text with certain style applied in it and convert with another text and style?

For example:
i) If we find "5" text with font MathematicalPi-One applied in it than it should be converted into "=" with style Arial Unicode MS. And highlight the changes.

ii) And we have a list of items which we have to convert with them, than what will be the shortest and fastest macro to do the same?

Thanks.
0
Email to a client is being delivered with wingdings font and not in Chinese as it's supposed to. The email originates from their partner who reports that there's nothing unusual their side.

Whole email message including the subject field is in wingdings (mostly question marks) although it should be showing in simplified Chinese. The same issue is seen on OWA and not just the local Outlook client. Client is on O365 running Outlook 2013.

I have tried changing language on OWA and Outlook to English and also tried changing the encoding language on Outlook with no positive effect.

Does this indicate a language error? I have read some people saying that this may happen due to the sender using a wingdings emoticon. Or could this possibly be an issue on the sender's side?
0
Hi Experts,

I have following code to convert from characters into signatures.
  
  Dim str As String
  str = "{" & """values""" & ":" & Me.Signature & "}"  


        Dim Json As Dictionary
        Set Json = JsonConverter.ParseJson(str)
        Dim Values As Variant
     
        
        Dim Value As Dictionary
        
        If Len(Signature & "") > 1000 Then
    
            Me.ScaleMode = 3
            Me.LabelPatientSignature.FontSize = 8
        Else
            Me.ScaleMode = 1
            Me.LabelPatientSignature.FontSize = 7
        End If
        
 'If Len(Me.Signature) < 200 Then Me.DrawWidth = 5
 
        For Each Value In Json("values")
        If Len(Signature) > 100 Then
            Me.Line (1200 + Value("lx"), Value("ly"))-(1200 + Value("mx"), Value("my")), vbBlack
        Else
            Me.Line (1200 + Value("lx"), Value("ly") - 5)-(1200 + Value("mx") + 10, Value("my") + 5), vbBlack, BF
        End If
         'Me.Line (1200 + Value("lx"), Value("ly") - 5)-(4000, Value("my") + 5), vbBlack, BF
'Me.Line (1200 + Value("lx") - 5, Value("ly") - 2)-(1200 + Value("mx") + 5, Value("my") + 2), vbRed
        Next Value

Open in new window


So for example the code would take the following, stored in signature field

Open in new window

0
I want to change the font color of a row to white when an order is Priority = 1 with the database. I assume I will accomplish this by using CSS.
I am using third party that came with our ERP which displays dashboards. Can anyone point me in the right direction on how
to accomplish this? below is the complete sql statement I am using to display results in the dashboard. Also attached a screenshot of how the
results are displayed.

SELECT WO_NUMBER AS WONUM
      ,PART_NUMBER AS PN
      ,DESCRIPTION AS DESCR
      ,PRIORITY
      ,CASE CONTRACT_TYPE WHEN 'PBH Pool' THEN 'PBH' ELSE 'TM' END AS CONTRACT
      ,DAYS_OPEN AS TAT
      ,CASE WARRANTEE_FLAG  WHEN 'F' THEN ' ' WHEN 'T' THEN 'W' END AS INFO
      ,TECHNICIAN AS TECH
,case when days_open > 5 or priority >= 1 then '#ff0000' else case when days_open > 3  then '#f68835' else '#66b65d' end end row_color
  FROM BA_VIEW_WIP_SHOP_SCREENS
  WHERE STATUS IN ('OPEN', 'AWT SHOP EVAL', 'SHOP EVALUATION') AND SHOP = 'SH AVIONIC ARO'
order by days_open desc

Open in new window

Capture.PNG
0
I am using the following code which sends an email from excel to outlook
Sub Send_Email_Late()

    Dim rng As Range
    Dim OutApp As Object
    Dim OutMail As Object
    Dim Name_Lookup As String
    
  




    

    Set rng = Nothing
    Name_Lookup = ActiveSheet.Range("A3").Value
    
    
    On Error Resume Next
    'Only the visible cells in the selection
    'Set rng = Sheets("Sheet 1").Range("B2:B22").SpecialCells(xlCellTypeVisible)'
    'You can also use a fixed range if you want
    Set rng = Sheets("Stationary").Range("B1:O8").SpecialCells(xlCellTypeVisible)  ':B11
    On Error GoTo 0

    If rng Is Nothing Then
        MsgBox "The selection is not a range or the sheet is protected" & _
               vbNewLine & "please correct and try again.", vbOKOnly
        Exit Sub
    End If

    With Application
        .EnableEvents = False
        .ScreenUpdating = False
    End With

    
    Set OutApp = CreateObject("Outlook.Application")
    Set OutMail = OutApp.CreateItem(0)

    On Error Resume Next
    With OutMail
        '.SentOnBehalfOfName = "sales@matthewclark.co.uk"
        .To = ActiveSheet.Range("Cs4").Value
        '.CC = Sheets("Email Data").Range("K2").Value'
        .BCC = ""
        .Subject = "Lateness Email - ENTER DATE"
        .HTMLBody = Name_Lookup & RangetoHTML(rng)
        .Display  'or use .Display
    End With
    On Error GoTo 0

    With Application
        .EnableEvents = True
        .ScreenUpdating = True
    End With
'    MsgBox

Open in new window

0
i cannot change the font in my main menu, i have targeted every single class and ID, but it ignores everything

http://delmare.darkstarmedia.net

it should be 26 pixels, i used this code to try to make something happen, but nothing happens..

.navbar, a.nav-link, .nav-link, .menu-item, #menu-main-menu, .nav, .navbar-nav, a.nav, a.navbar-nav, .nav a, .navbar-nav a, .navbar a, .nav-link a { 
font-family: 'Open Sans', sans-serif;
size: 26px !important;
color:#FFFFFF;
font-weight:400;
 }

Open in new window

0
Hi - We are having a strange issue with our company policy, and several other word docs. We are storing it on a server, where if we open the file on the server, it opens and looks normal. If we open it on a computer, the entire document looks like its defaulted to a "bar code" font, and the font name is still the same and hasn't changed on both server and PC! No idea why this is happening - please see attached pic - any help is appreciated.
barcode.jpg
0
Fundamentals of JavaScript
LVL 12
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

I created a customized report in reports builder with paper layout on it and set the all font to "TAHOMA" then i deploy my report to Oracle Application,
then i set the output format to TEXT and then after i run my report all my fonts changed to "COURIER NEW"

Is it possible to display the same font ?

Guys did you encountered my issue, if yes, Please give me an answer.. its been a month now i'm stuck on this issue. kindly help me experts.
0
See http://fsswp.petewinter.com/contact-us/

Look at the file upload area. The grey mark in the middle should be a font awesome icon. I need to set this as a background image using the css :before selector. However it is not showing.

See this page for how it should look http://fss.petewinter.com/contact_us.html , but I can't code like this.

This is the icon I want to use: https://fontawesome.com/icons/cloud-upload-alt?style=solid

Please can you help work out what I have done wrong?
0
A user I support needs to know how she can expand the "Edit Text" fields within an Adobe Acrobat XI Pro document she is modifying.

For example, when the "Edit Text and Images" option is selected within Acrobat PDF documents Acrobat automatically defines the borders for the text and images. When these borders are clicked on and dragged (in an attempt to expand them) the entire block of text is moved.

How can these borders be expanded to larger sizes (or simply deleted) without affecting the text and images contained within the block?

The user needs to be able to type text that will extend beyond these predefined borders.

Spreadsheet
0
We have recently change the font in the key documents generated from our  business software. We changed from Arial  to Gotham in all pdf's generated from the system.  Now we find that we cannot drill in to edit the documents. When we click into the object being generated it only focuses on the outer page frame. i.e. the handles appear in the outer page frame but you cannot drill into the objects within. I have the Gotham fonts [ otf's and ttf's] installed in the machine where the editor is installed.  The documents have no security settings and they allow editing. We have tried Nitro 9 and Nitro 11 but get the same results.  Has anybody any ideas?  Thanks in advance.
0
How do I change the Word 2016 default font to Arial 10 pt.?
0
🥔

I want to use symbols

Why does this symbol 🥔 work?

What are other symbols I can use?
0

Fonts Typography

16K

Solutions

19K

Contributors

A font is a particular size, weight and style of a typeface. Each font is a matched set of type, one piece (called a "sort") for each glyph, and a typeface consists of a range of fonts that share an overall design. With the advent of digital typography, font is frequently synonymous with typeface, although the two terms do not necessarily mean the same thing. In particular, the use of "vector" or "outline" fonts means that different sizes of a typeface can be dynamically generated from one design. Each style may still be in a separate "font file" -- for instance, the typeface "Futura" may include the fonts "Futura roman", "Futura italic", "Futura bold" and "Futura extended" —- but the term "font" might be applied either to one of these alone or to the whole typeface.

Top Experts In
Fonts Typography
<
Monthly
>